Back
Siella Beauty: Full-Stack Beauty Commerce
SIELLA BEAUTY SIELLA BEAUTY

Siella Beauty

Full-Stack Beauty Commerce

Siella Beauty is a full-stack beauty commerce platform that powers a product-driven website with an operations-focused admin dashboard.

thehivers/cli-siellabeauty-server

271

Hours

2

Months

690

Commits

Lead Developer

Role

Private
About

Siella Beauty is a full-stack beauty commerce platform that powers a product-driven website with an operations-focused admin dashboard. It provides an end-to-end workflow for managing users, products, orders, content (blogs, reviews, pages), and promotional systems, all backed by a modular API and a modern React-based interface. The project was built to support a real online business, with production-ready infrastructure, environment-aware configuration, and integrations for payments, messaging, and file storage. On the backend, Siella Beauty uses Node.js, Express, MongoDB, and Mongoose to expose a modular API layer that wires together services for users, products, orders, statistics, and more via a custom App abstraction. The API includes robust middleware for CORS, JSON and URL-encoded parsing, cookie handling, and centralized error management with http-errors and custom logging via rotating-file-stream. Bluebird is used as the global Promise implementation, and scheduled background jobs are defined as boot steps, running environment-specific intervals for tasks like availability checks and birthday campaigns. The React/Next.js-based admin dashboard is structured as feature modules (users, statistics, navigation, pricing, blogs, reviews, etc.), styled with styled-components and Ant Design, and configured via environment-driven multi-host settings. Siella Beauty is production-ready, with Docker-based deployment (separate Dockerfiles for development and staging) and Nginx/Certbot handling TLS termination. The codebase enforces modern JavaScript and React standards through ESLint (Airbnb config) and Babel, ensuring maintainable, consistent quality across both the server and admin applications.

Key Features

Implemented a modular Node.js/Express API layer (src/api.js) that wires up over a dozen services (Users, Products, Orders, Blogs, Reviews, Statistics, etc.) through a custom App abstraction for consistent configuration and middleware handling.

Configured robust request processing with CORS, JSON and URL-encoded body parsing (50mb limit), cookie parsing, and centralized HTTP error handling using http-errors and custom log middleware (src/api.js).

Used Bluebird as the global Promise implementation to optimize asynchronous performance and provide advanced promise utilities across the backend (src/api.js).

Designed scheduled background jobs via boot steps (e.g., src/boot/available.js, src/boot/birthday.js) that periodically trigger internal API calls using ms-based intervals, with separate timings for development vs production.

Structured a full-featured admin dashboard using React, styled-components ThemeProvider, Ant Design, and a custom hive-admin framework, with modular route bundles for users, statistics, products, orders, pricing, pages, navigation, blogs, bonuses, and reviews (admin/src/index.js).

Implemented environment-driven multi-host configuration for the admin and API, dynamically composing SERVER_URL, API paths, and base URLs from REACT_APP_* and SERVER_* variables to support different deployment environments (admin/src/index.js, src/api.js).

Integrated AWS SDK, MongoDB, and Mongoose with unique-validation plugins to manage persistent data and file storage, while also leveraging services like Twilio, Mailjet, MailerLite, PayTabs, and Amazon S3/DigitalOcean Spaces for messaging and payments (admin/package.json, tech stack).

Set up production-ready Docker-based deployment with multiple Dockerfiles (.dockerignore, Dockerfile, Dockerfile.development, Dockerfile.staging) and Nginx/Certbot integration for containerized hosting and automated TLS termination (repo structure, tech stack).

Centralized logging configuration via src/modules/log and rotating-file-stream, enabling size-limited, rolling API logs with configurable log roots and max sizes (src/api.js, dependencies).

Enforced consistent code quality and modern JavaScript/React patterns using ESLint with Airbnb config and a Babel toolchain (@babel/preset-env, @babel/preset-react, babel-eslint) across the admin and server codebases (admin/package.json, .eslintrc.yml).

Built with
JavaScriptShellHTMLLessDockerfileNode.jsExpressReactNext.jsMongooseAWS SDK for JavaScriptbcryptjsBluebirdbody-parsercorsdebugfs-extrahttp-errorsimage-sizeMongoDB
Impact

Provides a full-stack, containerized e-commerce and content management backend with an admin console for managing users, products, orders, content, and marketing integrations for the Siella Beauty platform.