- NestJS
- Typescript
- TypeORM
- Docker (PostgreSQL)
You can find the routes on /api GET /cart - Get all carts or a especific cart by id or by userId POST /cart - Create a new cart POST /product-cart - Add a product to a cart DELETE /product-cart/{id} - Delete a product from a cart
First, make sure you have NodeJS.
start:dev:db
npm run typeorm:migration:generate
npm run typeorm:migration:run
npm install
npm run start:dev
npm run start