Skip to content

A To-do List application's backend using Node JS, Express JS, Redis and Sequelize (PostgreSQL).

Notifications You must be signed in to change notification settings

saksham-chaturvedii/ToDo-App

Repository files navigation

ToDo-App 📃

I've written a To-do List application's backend that fulfils the following requirements -

  • User authentication using JWT and cookies 🔐
  • A todo endpoint which can add, delete, update and list all todos for a specific user 📝
  • Todo endpoint will be only for signed in users 🧑

For further details, keep scrolling 😉

Todo-App-1.mov

(Skip to the end of the repository to know how to test it yourself.)

Tech Stack ⚙️

  • NodeJS and ExpressJS
  • PostgreSQL
  • Redis

Endpoints: 🔗

image

Test the working:

Since, the application is deployed on Heroku, you need not clone the repository and try running it on your local system. If you do so, please make appropriate changes in the database details for both Postgres and Redis, in the /config/index.js file.

  • I've created a public Postman workspace that contains URLs to all the above mentioned endpoints.

    image

Follow the below mentioned steps to checkout the working of the APIs:

STEP 1:

  • Fork the collection to your Postman workspace.

    image

STEP 2:

  • Provide a label to the forked project.

    image

STEP 3:

  • Now you can test all the endpoints by sending appropriate requests, without any hassle. If you do send any request incorrectly, the response message shall guide you the correct way.

    image