TodoList-webpack-ES6

In this project, a simple HTML list of To Do tasks is built with html, CSS and javaScript. The list is styled according to the specifications listed in the project requirement and the entire app is bundled using webpack and served by a webpack dev server.

MIT License

Stars
14

📗 Table of Contents

📖 [To DO LIst]

To DO LIst is a a basic website that allows users to add and/or remove activities from a list of refistered activities on the website. The Project is achieved by using JavaScript objects and arrays. The project also implemented features that dynamically modify the DOM and add basic events and listeners..

🛠 Built With

Tech Stack

Key Features

  • [Linter checks]
  • [Webpack]
  • [Add/Remove buttons]
  • [clear All completed button]

🚀 Live Demo

To-Do-List-App

💻 Getting Started

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

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

Install

Install this project with:

- In the first commit of your feature branch create a .github/workflows folder and add a copy of [.github/workflows/linters.yml](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.github/workflows/linters.yml) to that folder.
- create a .gitignore file and add 'node_modules' to it
- run 'npm init -y'
- run 'npm install --save-dev [email protected]'
- Copy [hintrc](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.hintrc) to the root directory of your project.
- run 'npx hint .'
- Fix validation errors.
- run 'npm install --save-dev [email protected] [email protected] [email protected] [email protected]'
- Copy [stylelintrc.json](https://github.com/microverseinc/linters-config/blob/master/html-css-js/.stylelintrc.json) to the root directory of your project.
- Run 'npx stylelint "\*_/_.{css,scss}"'
- fix linter errors
- run "npm install --save-dev [email protected] [email protected] [email protected] [email protected]"
- Copy [eslintrc.json](https://github.com/microverseinc/linters-config/tree/master/html-css-js)
- Run npx eslint . on the root of your directory of your project
- Fix linter error.

### To Install Jest
- run npm install --save-dev jest
- add " "test": "jest", "watch": "jest --watch *.js" to the scripts section of package.json"
- run npm install --save-dev @babel/plugin-transform-modules-commonjs
- create a file at the root called .babelrc
- copy `{
    "env": {
        "test": {
            "plugins": ["@babel/plugin-transform-modules-commonjs"]
        }
    }
}` inside the file

To run the project, execute the following command:

  use git bash to open in Vs code
  use npm start to run web dev server
  npm run build to get the production version

Run tests

To run tests, run the following command:

Run "npx hint ."
Run "npx stylelint "**/*.{css,scss} --fix " to fix linters
Run "npx eslint . --fix to fix linters"

Deployment

You can deploy this project using:

  • github pages
- npm run deploy

👥 Authors

👤 Author

🔭 Future Features

  • [contact form page]
  • [A feature for price inclusion]
  • [A feature for updating the cart]

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

⭐️ Show your support

If you like this project, kindly drop a star for me.

🙏 Acknowledgments

I would like to use this medium to appreciate Microverse for giving me this type of opportunity.

📝 License

This project is MIT licensed.

Related Projects