Skip to content

building-for-fun/StoreZero

Repository files navigation

StoreZero: E-Commerce Application

A robust e-commerce application built with **NestJS** , **Prisma** , **PostgreSQL** , and **TypeScript** . This project includes user authentication, CRUD operations, and more.

NPM Version Package License Secret Scan


🚀 Tech Stack

NestJS Prisma PostgreSQL TypeScript Docker Jest


🛠 Installation

  1. 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.).


▶️ Running the Application Without Docker

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.


Our Contributors ❤️

Thank you for contributing to our repository

About

Nestjs Ecommerce Store - Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •