Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andersao/node-serverless
https://github.com/andersao/node-serverless
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andersao/node-serverless
- Owner: andersao
- Created: 2021-01-07T18:33:00.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-18T22:40:10.000Z (almost 4 years ago)
- Last Synced: 2024-04-24T03:15:58.942Z (9 months ago)
- Language: JavaScript
- Size: 185 KB
- Stars: 3
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node ABL Scaffold
# Faz o deploy!!!!
## Agora vai## Migrations
Criar um arquivo de migração:
`npm run db:migrate:generate create_some_table`
Executar as migrações
`npm run db:migrate`
Executar roolback
`npm run db:migrate:rollback`
## Servidor
`node server.js`
## Upload Lambda
1. `zip -r lambda.zip -r .`
2. `aws lambda update-function-code --function-name={FUNCTION_NAME} --zip-file=fileb://lambda.zip --profile {PROFILE}`