PerfumeDK is an e-commerce platform specializing in selling premium perfumes. This project leverages a modern web stack to deliver a fast, scalable, and secure shopping experience. The application is built using the following technologies:
- Next.js: A React-based framework for server-side rendering and static site generation, ensuring high performance and SEO-friendly pages.
- NestJS: A robust Node.js framework for building efficient and scalable server-side applications with TypeScript.
- FastAPI: A high-performance Python framework for building APIs, responsible for handling file uploads and processing order, user, and product data.
- MySQL: A reliable relational database for storing and managing product, user, and order information.
- BackEnd_URL:
If you want public web in vps. U need change BackEnd_Url next-app\src\lib\Constants.ts
-
Start all services server using Docker Compose:
$ docker-compose -f docker-compose.backend.yml -d
-
Start front-end
$ cd next-app $ npm i $ npm run build $ npm run start
-
Change ENV:
Change ./.env.docker to ./.env.manually in src/app.module.ts
-
Start nest-app
$ cd nest-app $ npm i $ npm run build $ npm run start
-
Start fastapi
$ cd python-module $ pip install --no-cache-dir -r requirements.txt $ uvicorn main:app --host localhost --port 8000
-
Start next-app
$ cd next-app $ npm i $ npm run build $ npm run start
The application will be available at the designated domain or localhost.