ServerlessDocs is a Serverless Document Management System I created to showcase the usage of different AWS Services like Cognito, S3, Lambda, API Gateway, etc.
[Still work in progress] Please refer to the full documentation here.
- Amazon Cognito (User Pool and Identity Pool)
- AWS Lambda (For Cognito Hooks)
- Amazon S3 (To Host the Frontend and Store Files)
- Amazon Pinpoint (To send outbound emails)
- AWS API Gateway (For Google Sign-In Tokens)
- AWS IAM (Roles, Permissions, etc)
- Front-end needs to be manually pushed with
npm run deploy
command. Reminder, front-end is still a vanilla JS. - MFA is by enabled by default, will ask to configure after the first login.
- Google Sign-In is optional and by default disabled. Will provide more detail in the docs.
- Some UI glitches :) as expected.
- Documentation is still not complete and some work is in progress.
The app currently has two deployment setups, 1) Serverless Framework and 2) SAM. The serverless framework is already pushed in the repo and SAM will be pushed soon.
serverless-docs-backend
folder contains the Serverless backend code and configurations.
Deploy the backend with sls deploy --stage
and use the output variables in serverless-docs-frontend/app-config.js
file.
Updating Soon
I couldn't do it alone :) and glad that I work with AWSome people to help me.