Git Product home page Git Product logo

todos's Introduction

Todos App

An app to keep a to-do list; a list of tasks one needs to complete. It is built with React Boilerplate and leverages React, React Router, Redux, Redux Saga, Reselect, Styled Components, Node, Express.

On the client side:

  • To-do list page (homepage): displays a list of all to-do items and checkboxes to indicate whether or not a todo item has been completed;
  • Add to-do page: displays the form to create new to-do items;
  • Navigation bar:
    • allows user to switch between pages,
    • displays the count of incomplete to-do list items.

On the server side:

  • Node/Express server: 'faking a database' by keeping an array in memory;
  • API endpoints:
    • to fetch all to-do items from the array,
    • to prepend a new to-do item to the array,
    • to toggle a to-do item's completed status in the array.

Installing

Please note: Even though this app meets the requirements of the take-home assignment it was created for, it is not a full-featured to-do app (yet).

  1. Clone the repository git clone [email protected]:vanvemden/todos.git
  2. cd todos
  3. npm run setup
  4. npm start
  5. Visit http://localhost:3000

Testing

Unit tests have been written for the TodosListContainer component. To run these tests:

  1. jest app/containers/TodosListContainer/tests/

Further Development

The following could be added to the app in future:

  • Display Add to-do page as an overlay on To-do list page.
  • Allow user to edit to-do text, and delete to-do items.
  • Add selector to switch between site languages.
  • Setup database to store to-do items in.
  • Remove completed items from To-do page, and display on Done page.
  • Add drag and drop functionality to list items in custom order.
  • Add server side validation to prevent bad submissions.
  • Add user authentication and email verification.

todos's People

Contributors

vanvemden avatar

Watchers

 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.