Skip to content

xquery-go/nestjs-ecommerce

Repository files navigation

Ecommerce App with Nest.js and Postgres

Description

This project is an ecommerce application built using Nest.js and Postgres. The focus is on writing clean, modular, and testable code, and following a well-organized project structure.

Technology Stack

  • Nest.js
  • PostgreSQL
  • TypeORM
  • Jest

Getting Started

To get started with this project, follow these steps:

  • Clone this repository to your local machine.
  • navigate to the nestjs-ecommerce directory.
cd ./nestjs-ecommerce
  • start postgres database.
docker-compose up -d
  • install app dependencies.
npm install
  • run database migrations.
npm run migration:run

if you want to generate any future migration

npm run migration:generate --name=<migrationName>
  • run database seeders.
npm run seed:run
  • start the applictaion.
npm run start:dev

Testing

To run the tests, follow these steps:

  1. Install dependencies: npm install
  2. Run the tests: npm run test

Contributing

If you're interested in contributing to this project, please follow these guidelines:

  1. Fork the repository
  2. Make your changes
  3. Submit a pull request

About

This is backend project for ecommerce site with nestjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published