This is an e-commerce skeleton repository made with clean code Architecture using Nest.js Framework. It used my MySql as a backend.
To run the repository create a dev.env under env folder and add contents from sample.env. Replace the content with your original details.
It includes the following modules
- User Auth using Passport
- Bcrypt for password hashing
- User Address
- User Payment
- Cart Item
- Payment Details
- Product
- Product Category
- Product Inventory
- Discount
- Order Details
- Order Items
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:debug
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov