/serverless-nestjs-starter

🚀 serverless + nestjs + postgres

Primary LanguageTypeScriptMIT LicenseMIT

serverless-nestjs-starter

PRs Welcome Using serverless + nestjs + postgres to build a backend app.

Table of Contents

Install

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

Dev

cd api

yarn 

# setting env var: STAGE=dev and PG_CONNECT_STRING=your-connection
vi .env 

yarn dev

⬆ Back to Top

Deploy

cd api

yarn build

# in project root dir
cd ..

sls deploy

⬆ Back to Top

Links

⬆ Back to Top

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

⬆ Back to Top

License

MIT

⬆ Back to Top