GithubHelp home page GithubHelp logo

ackonsamuel / to-do-list Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 7.92 MB

This is a web application to create a to-do list. This is my second JavaScript project in Module 2 of Microverse. In this application, you can add tasks, update task info, and delete them. You can also check the tasks as completed when you are done with them. This app was majorly built with Webpack, JavaScript, CSS and Babel

HTML 4.91% JavaScript 82.56% CSS 12.53%
babel-es6 javascript webpack css3

to-do-list's Introduction

This is a solo project being built in our second module of our curriculum at microverse. It is a to-do list application where you are able to add, remove and mark completed tasks

Our goal here is to Build a To-do list application with add, remove and checked feature from scratch using JavaScripts.

Features implemented so far are:

  • Responsive HTML page
  • Integrated webpack
  • dynamic to-do list dom manipulation
  • Add a task to list [Hit enter key to add a new task]
  • Edit a task to list [this is done on editable and hit enter key to save to list]
  • Save current state to local-storage.
  • Addition of unit test using Jest.

Built With

  • Lighthouse (An open-source, automated tool for improving the quality of web pages. It has audits for performance, accessibility, progressive web apps, SEO and more).
  • Webhint (A customizable linting tool that helps you improve your site's accessibility, speed, cross-browser compatibility, and more by checking your code for best practices and common errors).
  • Stylelint (A mighty, modern linter that helps you avoid errors and enforce conventions in your styles).
  • ESlint (A mighty, modern linter that helps you avoid errors and enforce conventions in JavaScript codes)
  • Webpack (Used for bundling JavaScript files for usage in a browser)
  • Jest (A JavaScript testing framework designed to ensure correctness of any JavaScript codebase. It allows you to write tests with an approachable, familiar and feature-rich API that gives you results quickly.)

To get a local copy up and running follow these simple example steps.

Prerequisites

The basic requirements for building the executable are:

  • A working browser application (Google chrome, Mozilla Fire fox, Microsoft edge ...)
  • VSCode or any other equivalent code editor
  • Node Package Manager (For installing packages like Lighthous, webhint & stylelint used for checking for debugging bad codes before deployment)

LIVE LINK

Here's a live link to the To-do list app.

Getting Started

Cloning the project

git clone  https://github.com/AckonSamuel/To-Do-list <Your-Build-Directory>

Getting packages and dependencies

To get all package modules required to build the project run:

npm install

every package module required to build the project is listed in the package.json file. this is used as a reference to get all dependencies.

Building

To build the project run:

npm run build

after you run this sucessfully you'd locate the build from in the dist folder located from the parent directory of the project. two files are being built which are, main.js and index.html

Running

To run the program on a browser through a server run this command in your cli

npm start

This should open the page in your localhost on port 8080. then you'd be able to view the built page generated using webpack.

Authors

๐Ÿ‘ค Ackon Samuel

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

๐Ÿ“ License

This project is MIT licensed.

to-do-list's People

Contributors

ackonsamuel avatar zahraarshia avatar

Stargazers

 avatar  avatar

Watchers

 avatar

to-do-list's Issues

Unit Test Functionality Improvement

Hi Team you have done a great job so far ๐ŸŸข

Your codes are clean and you have followed best practice of ES6

Below we list items which need a little bit improvement :โ™ป๏ธ

  • I kindly we recommend you to add your app screenshot on your readme file because image description is higher than text.
  • [Optional] instead of using this, We recommend you to use jest --env=jsdom in package.json. Because it will keep your code clean and DRY.

Happy coding ๐Ÿ‘ฉโ€๐Ÿ’ป

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.