Skip to content

Latest commit

 

History

History
executable file
·
71 lines (46 loc) · 1.8 KB

README.md

File metadata and controls

executable file
·
71 lines (46 loc) · 1.8 KB

Serverless TODO

This application will allow creating/removing/updating/fetching TODO items. Each TODO item can optionally have an attachment image. Each user only has access to TODO items that he/she has created. I'm using AWS Lambda and Serverless framework to build this application.

Getting Started

Prerequisite

To run the application you will need:

Amazon Web Services (AWS)

The application uses the following services:

How to run the application

Backend

To deploy an application run the following commands:

cd backend
npm install
sls deploy -v

Ren tests:

npm test

Frontend

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.

API Endpoint

https://lzvmolxey8.execute-api.eu-west-3.amazonaws.com/dev/todos

Postman collection

An alternative way to test your API, you can use the Postman collection that contains sample requests. You can find a Postman collection in this project. To import this collection, do the following.

Udacity C4 Project.postman_collection.json

Travis

The project uses Travis as CI/CD tool.