https://github.com/yeukfei02/sweet-factory-backend-serverless
sweet-factory-backend-serverless
https://github.com/yeukfei02/sweet-factory-backend-serverless
apollo-server aws-lambda graphql mysql nexus nodejs prisma serverless typescript
Last synced: 4 months ago
JSON representation
sweet-factory-backend-serverless
- Host: GitHub
- URL: https://github.com/yeukfei02/sweet-factory-backend-serverless
- Owner: yeukfei02
- License: mit
- Created: 2021-07-04T01:51:50.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:39:08.000Z (over 2 years ago)
- Last Synced: 2025-01-11T01:27:29.827Z (over 1 year ago)
- Topics: apollo-server, aws-lambda, graphql, mysql, nexus, nodejs, prisma, serverless, typescript
- Language: TypeScript
- Homepage:
- Size: 295 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sweet-factory-backend-serverless
sweet-factory-backend-serverless
documentation:
api url:
## Requirement
- install yarn
- install node (v14+)
- install serverless
## Testing and run
```zsh
// test api in local
$ yarn run dev
// deploy to serverless
$ yarn run deploy
// open serverless dashboard
$ yarn run dashboard
// use eslint and prettier to format code
$ yarn run lint
// run test case
$ yarn run test
// remove serverless services in aws (api gateway, lambda, s3, cloudformation)
$ yarn run remove
```