https://github.com/rpidanny/serverless-cognito-boilerplate
Boilerplate for serverless authenticated applications
https://github.com/rpidanny/serverless-cognito-boilerplate
aws aws-cognito aws-lambda serverless serverless-framework
Last synced: 3 months ago
JSON representation
Boilerplate for serverless authenticated applications
- Host: GitHub
- URL: https://github.com/rpidanny/serverless-cognito-boilerplate
- Owner: rpidanny
- License: mit
- Created: 2019-08-14T12:34:00.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T11:04:12.000Z (over 2 years ago)
- Last Synced: 2024-12-29T14:29:41.438Z (10 months ago)
- Topics: aws, aws-cognito, aws-lambda, serverless, serverless-framework
- Language: TypeScript
- Homepage: https://serverlessdemo.abhishek.pro.np
- Size: 1.56 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# serverless-cognito-boilerplate
[](http://www.serverless.com)
[](https://codecov.io/gh/rpidanny/serverless-cognito-boilerplate) [](https://travis-ci.org/rpidanny/serverless-cognito-boilerplate)Boilerplate for serverless authenticated applications.
Frontend boilerplate that accompanies this can be found [here](https://github.com/rpidanny/serverless-cognito-ui-boilerplate).
Demo [https://serverlessdemo.abhishek.pro.np](https://serverlessdemo.abhishek.pro.np)
## Includes
### Resources
- [Cognito User Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html)
- [Cognito Identity Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html)
- [S3 Data Bucket](https://aws.amazon.com/s3)
- [DynamoDB Table](https://aws.amazon.com/dynamodb)
- [API Gateway](https://aws.amazon.com/api-gateway)### Functions
- `helloworld` : for auth / api tests.
### Linting
- eslint / prettier
### Unit Tests
- jest
### Code Coverage
- [codecov](https://codecov.io)
## Note
### Deployment Issue
Serverless deploy fails when the `apiGateway` tracing is enabled when you deploy it for the first time. As mentioned in [https://github.com/serverless/serverless/issues/6081](https://github.com/serverless/serverless/issues/6081).
So, comment out `apiGateway` tracing in `serverless.yml` for the first deploy. Then you can enable it for subsequent deploys.