This project was created for Udacity cloud developer capstone project. It is based on the Todo app that the course provided for different lessons. The app is like mini version of social share platforms. It allows users to share/post their hike/walk.
This application allows creating/removing/updating/fetching activity/post items. Each post can optionally have an attachment image. Users can only modifiy/delete the posts they created. They can also view other users' posts, but cannot modify them.
- Auth0 account
- NodeJS version up to 18.xx
- Serverless
- Create a Serverless account user
- Install the Serverless Framework’s CLI (up to VERSION=3.26.0). Refer to the official documentation for more help.
npm install -g serverless serverless --version
- Login and configure serverless to use the AWS credentials
# Login to your dashboard from the CLI. It will ask to open your browser and finish the process. serverless login # Configure serverless to use the AWS credentials to deploy the application # You need to have a pair of Access key (YOUR_ACCESS_KEY_ID and YOUR_SECRET_KEY) of an IAM user with Admin access permissions sls config credentials --provider aws --key YOUR_ACCESS_KEY_ID --secret YOUR_SECRET_KEY --profile serverless
- AWS Lambda
- AWS tech stack (lambda, ApiGateway, DynamoDB etc.)
- Auth0 for authentification
- Nodejs
- React for frontend
To deploy an application run the following commands:
cd backend
npm install
sls deploy -v
To run a client application first edit the client/src/config.ts file to set correct parameters. And then run the following commands:
cd client
npm install
npm run start
This should start a development server with the React application that will interact with the serverless TODO application.