Code Monkey home page Code Monkey logo

todo-backend's Introduction

TaDa✨ - The ToDo App

This repository contains backend made using node for Hackerearth Stackathon 1.0 challenge.. It uses mongoose API to connect to MongoDB which is used as database.

Live Demo

TaDa✨ - The ToDo App

Versions:

  • node: v10.x
  • npm: 6.9.0

Frontend

The frontend written in angular can be found here.

Installation and running the app

git clone https://github.com/yashgkar/todo-backend.git
cd todo-backend
npm install
node app.js

APIs

There are in total of 11 APIs. They are as follows:

  • register (POST): To register new user.
  • login (POST): To login and start user session.
  • tasks (GET): To get all tasks associated to the current user.
  • task (POST): Add a new task the current user's bucket.
  • task (PUT): Update a specific task wih id.
  • task (DELETE): Delete any task with id.
  • completed-task (PUT): Mark task as completed.
  • labels (GET): Get all labels present in collection.
  • statuses (GET): Get all status types.
  • logout (GET): Logout and clear session for current user.
  • getUserName (GET): Get current user's name.

The request and response json formats for these APIs can be found here.

Screenshots

Screen record

Vimeo.

todo-backend's People

Contributors

cyproto avatar yashgkar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.