A robust e-commerce application built with **NestJS** , **Prisma** , **PostgreSQL** , and **TypeScript** . This project includes user authentication, CRUD operations, and more.
-
Clone the repository:
git clone https://github.com/building-for-fun/StoreZero.git cd StoreZero
Install dependencies:
npm install
Install NestJS CLI (if not already installed):
npm install -g @nestjs/cli
🔑 Environment Variables
Copy the .env.example
file to .env:
cp .env.example .env
Update the .env file with your configuration (e.g., database URL, JWT secret, etc.).
Start the application:
npm run start:dev
The application will be available at http://localhost:3000.
With Docker Build and start the Docker containers:
docker-compose up --build
The application will be available at http://localhost:3000.
📦 Prisma Migrations
Run Prisma migrations:
npx prisma migrate dev --name <migration-name>
Generate Prisma client:
npx prisma generate
🧪 Running Tests Run the tests using Jest:
npm run test
📄 License This project is licensed under the MIT License.
If you would like to contribute to the project then kindly go through Contributing Guidelines to understand everything from setup to necessary instructions.