npm install
This example requires docker or a local mongodb installation. If using a local mongodb, see app.module.ts
for connection options, and make sure there are matching options for the mongodb installation and the source code.
There is a docker-compose.yml
file for starting Docker.
docker-compose up
After running the sample, you can stop the Docker container with
docker-compose down
Then, run Nest as usual:
npm run start
- */.spec.ts DELETE THE FILES
yarn add aws-serverless-express yarn add aws-lambda yarn add -D serverless-plugin-typescript yarn add -D serverless-plugin-optimize yarn add -D serverless-offline plugin
[-] run the script inside nest.bash [- ] select no for crud entry points in REST API [-] Go to your created folder and you can delete .spec.ts files [-] Go to dto and schemas and generate your schemas
write now for dto code remove all tests json to schema