Using serverless + nestjs + postgres to build a backend app.
sls create --template-url https://github.com/FEMessage/serverless-nestjs-starter.git
# or
sls create --template-url https://github.com/FEMessage/serverless-nestjs-starter.git --path my-serverless-project
cd api
yarn
# setting env var: STAGE=dev and PG_CONNECT_STRING=your-connection
vi .env
yarn dev
cd api
yarn build
# in project root dir
cd ..
sls deploy
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!