https://github.com/femessage/serverless-nestjs-starter
🚀 serverless + nestjs + postgres
https://github.com/femessage/serverless-nestjs-starter
Last synced: 11 months ago
JSON representation
🚀 serverless + nestjs + postgres
- Host: GitHub
- URL: https://github.com/femessage/serverless-nestjs-starter
- Owner: FEMessage
- License: mit
- Created: 2020-10-23T02:55:18.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-23T05:11:42.000Z (over 5 years ago)
- Last Synced: 2025-02-22T01:41:34.394Z (over 1 year ago)
- Language: TypeScript
- Size: 107 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless-nestjs-starter
[](https://github.com/FEMessage/serverless-nestjs-starter/pulls)
Using [serverless](http://serverless.com/) + [nestjs](https://docs.nestjs.com/) + [postgres](https://www.postgresql.org/docs/10/) to build a backend app.
## Table of Contents
- [Install](#install)
- [Dev](#dev)
- [Deploy](#deploy)
- [Links](#links)
- [Contributors](#contributors)
- [License](#license)
## Install
```sh
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
```sh
cd api
yarn
# setting env var: STAGE=dev and PG_CONNECT_STRING=your-connection
vi .env
yarn dev
```
[⬆ Back to Top](#table-of-contents)
## Deploy
```sh
cd api
yarn build
# in project root dir
cd ..
sls deploy
```
[⬆ Back to Top](#table-of-contents)
## Links
- [docs](https://deepexi.yuque.com/docs/share/4689de51-05a8-477d-94ae-4cec4e6cc01a)
[⬆ Back to Top](#table-of-contents)
## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
[⬆ Back to Top](#table-of-contents)
## License
[MIT](./LICENSE)
[⬆ Back to Top](#table-of-contents)