Nest framework TypeScript starter repository.
$ npx prisma migrate dev --name init
$ 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:cov
Prisma : Guide Query where for get multiple data
{
"page": 1,
"limit": 25,
"orderBy": [
{
"name": "asc",
},
{
"id": "desc",
}
],
"where": {
"OR": [
{
"name": {
"contains": "3",
}
},
{
"name": {
"contains": "2",
}
}
],
"id": {
"gte": 5
},
"AND": [
{
"email": {
"contains": "gmail",
}
},
{
"email": {
"contains": "1",
}
}
],
},
}
# Prod
$ docker-compose -f docker-compose.prod.yml up --build
# Dev
$ docker-compose -f up --build