This repository contains the codebase for our e-commerce application. The application is built using NextJS, TypeScript, NodeJS, PostgreSQL. In addition, the repository also includes documentation for the project, including installation instructions and a user manual.
Please note that this is a dummy e-commerce platform and is not intended for commercial use. The purpose of this project is solely for educational and learning purposes.
TODO
Shopper:
- Username: shopper
- Password: shopper
Admin:
- Username: admin
- Password: admin
TODO
docker-compose build --no-cache
docker-compose up -d
docker-compose down
- NodeJS ^16.x
- PostgreSQL 14.1
- PM2
- NextJS
- Prisma
- TailwindCSS
- PostgreSQL
- Docker
- PM2
- TypeScript
- NodeJS
- NextAuth
- Install packages
npm install
developmentnpm ci
production
- Configure
.env
filecp .env.examples .env
- Fill out the config
- Setup Database
npx prisma migrate dev
make new migration filesnpx prisma migrate deploy
productionnpx prisma generate
- Build Source
npm run build
- Run Script
npm run dev
developmentnpm run start
production