Краткое описание:
User: Модель пользователя с полями id, email, password, name, createdAt, updatedAt, orders и addresses.Product: Модель продукта с полями id, name, description, price, createdAt и updatedAt.Order: Модель заказа с полями id, userId, totalPrice, createdAt и orderToProducts.OrderToProduct: Модель, связывающая заказы и продукты, с полями orderId, productId и productOrderPrice.Address: Модель адреса с полями id, userId, street, city, postalCode, createdAt и updatedAt.
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
