By Mikhael Bailly
Welcome to the third edition of WeekDev 2022. The WeekDev is a challenge that I launched myself, where I develop an idea in maximum 1 week. At the end of this period I would no longer edit the code ! The goal is to improve myself in development and discover new techniques, new languages.
Task on the cloud
The challenge began on Friday 14 October 2022 and will be ended on Friday 21 October 2022 ! It aims to bring me knowledge in NextJS, AWS and cloud deployment. During the development, I work on the branch "dev".
I created a Kanban table to reference all my tasks available here. It will be regularly updated
Main tasks :
- Create NextJS App
- Create DynamoDB
- User related methods
- Task related methods
- Deployment on Amplify
- Upload images (Url, Locally, Unsplash)
- NextJS
- AWS Lambda
- AWS API Gateway
- AWS Dynamo DB
- AWS Amplify
- AWS CloudWatch
- AWS S3
- AWS IAM
- Unsplash API
Use git clone
to install this app.
git clone https://github.com/Mikheull/wd-tasks
npm install
- Create two DynamoDb tables wd-tasks-items and wd-tasks-users
- Create the lambda functions available in the folder
AWS/lambda
with the roles - Create an API Gateway with the roles linked to lambda functions
- Create a S3
- Create a Unsplash App
- Create a
.env
file in root directory and write the configuration below.
NEXT_PUBLIC_API_GATEWAY_URL=
NEXT_PUBLIC_API_KEY=
S3_UPLOAD_KEY=
S3_UPLOAD_SECRET=
S3_UPLOAD_BUCKET=
S3_UPLOAD_REGION=
NEXT_UNSPLASH_KEY=
- [OPTIONAL] Delete the
amplify
folder and re-init amplify - [OPTIONAL] Deploy to amplify
npm run dev