Code Monkey home page Code Monkey logo

to-do-list's Introduction

To Do List

Why

This project is a training project for a React JS test using hooks. The goal is to create a simple To Do List. The api was made in Node.JS and express. You can also use this project to train yourself to develop your own API without worrying about developing the front application.

How To Run

first dowload the project with git clone [email protected]:ClementBolin/to-do-list.git && cd to-do-list install dependencies : npm i --save && cd api && npm i --save the next step is to run API, for this go to apifolder with cd api && npm start and finally launch the front application with npm start

Run with docker

For run this project with docker docker-compose up and open http://localhost:3000/on your web browser

API

For this small project I decided to develop my API in Node JS, express and as a database I decided to use MongoDB.

How to develop your own API

First of all the API is a REST API the different routes are as follows: your api must run on port 8080.

What is a Board Project? A Board Project is the first thing you see when you open the application. Board Project Routes:

/boardProject/add ->  body = { name }
/boardProject/delete -> body = { name }
/boardProject/update -> body = { name, nameNew }
/boardProject/get -> body = {}

Project Route:

/project/add -> body = { name, tag }
/project/update -> body = { name, tag, nameNew }
/project/delete -> body = body = { name, tag }
/project/get -> body = {}

Task Route:

/task/add -> body = { name, id, tag, type }
/task/update -> body = { name, id, tag, type, nameNew, typeNew }
/task/delete -> body = { name, id, tag, type }
/task/get -> body = {}

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.