🛰️ REST API and CRUD endpoints (AWS Lambda, API Gateway), Data persistence (AWS DynamoDB), Message Queues for cross-service communication (AWS SQS), Scheduled event triggers (AWS EventBridge), Cloud stack management (AWS CloudFormation), Object storage on the cloud (AWS S3), Email notifications (AWS SES), Middleware, Authentication and Authorization (Lambda Authorizer), Data validation and error handling.
npm install -g serverless
sls create --name YOUR_PROJECT_NAME --template-url https://github.com/GustavoNoronha0/serverlessbase
cd YOUR_PROJECT_NAME`
npm install
sls deploy -v
sls logs -f processName
sls logs -f processName --startTime 1m
sls create --name auth-service --template-url https://github.com/GustavoNoronha0/serverless-auth
cd auth-service
npm install
sls deploy -v
To make sure everything works, send a POST request (using curl, Postman etc.) to your private endpoint.
You can grab a test token from Auth0. Make sure to provide your token in the headers like so:
"Authorization": "Bearer YOUR_TOKEN"