The project is about a TODO application using serverless components from AWS. It is made for helping a respective user to manage her/his todos.
This application allows to create/remove/update/fetch TODO items. Each TODO item can optionally have an attachment image. Each user only has access to TODO items that he/she has created.
NOTE: The full specification on method level may be accessed by typing the following command:
npm test
The application stores TODO items, and each TODO item contains the following fields:
todoId
- a unique id for an itemcreatedAt
- date and time when an item was createdname
- name of a TODO item (e.g. "Get some milk!")dueDate
- date and time by which an item should be completeddone
- true if an item was completed, false otherwiseattachmentUrl
(optional) - a URL pointing to an image attached to a TODO item
To deploy an application run the following commands:
cd backend
npm install
sls deploy -v
To deploy the frontend 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.
An alternative way to use provided API is to use the Postman collection that contains sample requests. You can find a Postman collection in this project.