Skip to content

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.

Notifications You must be signed in to change notification settings

nass59/serverless-todo-app

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published