Giter Site home page Giter Site logo

tarhi-saad / todomvc-vanilla-es6 Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 7.0 1.83 MB

The best To-Do List app in Vanilla JS

Home Page: https://tarhi-saad.github.io/TodoMVC-Vanilla-ES6/

License: GNU General Public License v3.0

JavaScript 82.51% HTML 0.23% CSS 17.26%
vanilla-js mvc todomvc todo-list es6 unit-testing jest drag-and-drop animation animated

todomvc-vanilla-es6's Introduction

TodoMVC (Vanilla ES6)

Simply the best todo list app created using plain JavaScript (ES6). And all those awesome features were created from scratch (Drag'n'Drop, animations, modal, sort (animated), search, tooltip, etc.).

The goal of this project was to see how big and complex an app can be built before it was time to switch to a JavaScript framework (ReactJS, VueJS or Angular).

It was possible to keep the project/code clean and maintainable thanks to the following:

Table of contents

  1. Demo
  2. App screenshots
  3. Technologies
  4. Features & instructions
  5. Development

Demo

Here is the working live demo: https://tarhi-saad.github.io/TodoMVC-Vanilla-ES6/.

App screenshots

Desktop version

Desktop-screenshot

Mobile version

Mobile tablet

Technologies

Features & instructions

1- App structure

  • There are default projects and you can (create / delete / edit name) of new ones.
  • In every project you can (create / delete / edit / set as completed) our todos.
  • Every todo has details.

2- Todo details

You can select a todo to access its details to do the following:

  • Edit name
  • Bookmark todo
  • Add subtasks
  • Add to My Day (see Default projects below for more details)
  • Add due date
  • Set priority
  • Add note

3- Default projects

  • All Tasks: Here you can find and manipulate all todos from every project.
    Todos created in this project will be added to Tasks project.

  • My Day: It's the same as My Day feature in microsoft todo list. With My Day, you can manage your daily tasks while letting you start each day with a clean slate. When you first open My Day each day, you're greeted with a fresh space to add the tasks you want to accomplish that day.
    Todos created in this project will have My Day set per default and added to Tasks Project.

  • Bookmarked: If you set a todo as bookmarked you'll find it in this project.
    Todos created in this project will get Bookmarked and added to Tasks project.

  • Planned: Every todo who has a due date can be found here and organized as such: (Earlier / Today / Tomorrow / Later this week / Next week / Later).
    Todos created in this project will get Today as a due date and added to Tasks project.

  • Tasks: This is the default project.

4- Sorting todos

  • In every project you can sort todos (in ascending or descending order) by:

    • Alphabetically
    • Completed
    • Added to My Day
    • Bookmarked
    • Due date
    • Creation date
    • Priority
  • Sorting todos is animated

  • Sort options are saved for every project individually

5- Drag'n'Drop

  • We can reorder todos by a simple Drag'n'Drop

  • The new order is saved

  • Touch screen support for Drag'n'Drop (The touch events API). You can activate Drag'n'Drop by a long press on the selected todo

  • Animated Drag'n'Drop

6- Search feature

  • Search for todos in every project

  • You can edit todos while still in search mode

7- Indicators in todos

  • There are indicators for every todo option that are added to the edited todo item:

    • My Day indicator
    • Subtask indicator
    • Due date indicator
    • Note indicator
    • Bookmarked indicator
  • We can easily check our todo options without accessing its details view

8- Animation & design

  • Material design

  • Great & smooth animation with every interaction (add todo, delete todo, toggle completed, sort, Drag'n'Drop, open/close project window, add subtask, delete subtask, etc.)

9- Full mobile support

  • App fully responsive and easy to use in small screen devices

  • All features are supported (i.e. Drag'n'Drop, animations, etc.)

Development

To set up this App locally:

1- Clone this repo to your desktop

2- Run npm install to install all the dependencies.

3- Run npm start to lunch the App.

License

You can check out the full license here

This project is licensed under the terms of the GNU GPLv3 license.

todomvc-vanilla-es6's People

Contributors

ousstarhi avatar tarhi-saad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.