Code Monkey home page Code Monkey logo

express-todo's Introduction

express-todo

https://i.giphy.com/media/xTiTnuhyBF54B852nK/giphy.webp

Create a todo list app for yourself.

Use express, jsonfile and react templates as we have been doing during the week.

You should be able to:

  • see every item in your todo list (GET)
  • add an item to the list - this will have the text of the thing you need to accomplish (POST)
  • mark it as done (PUT)

Getting Started

Install all of the libraries you will need in your app.

express
jsonfile
method-override
express-react-views
react
react-dom

Your app is a todo list. Therefore the data structure that holds each list item should be an array. This setup should mirror the one for pokemon. (Which is an object with a list of pokemon inside it).

Once you have a json file then you must begin with the first logical user action- to add something to the list. (Don't begin with getting things from the list- since it will be empty at the start)

Begin this adding functionality with the first thing the user needs to see or do for this flow- which is load an HTML form.

Optional

If you want you can choose to make a shopping list app instead.

further

Add a recording of the time that you put the item in your todo list.

further

Don't allow the user to make a todo item that is empty. (Or below a minimum number of characters)

further

Add a recording of the time that you marked the item done.

further

Be able to permanently delete an item

further

Add "buckets" or categories that you can put each of your todo items into.

further

Add the ability to name each bucket/category.

further

Add the ability to sort the buckets by date or name

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.