Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexander16108/todolist-with-webpack
https://github.com/alexander16108/todolist-with-webpack
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexander16108/todolist-with-webpack
- Owner: alexander16108
- License: mit
- Created: 2021-09-17T15:43:55.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2021-09-27T09:39:29.000Z (over 3 years ago)
- Last Synced: 2024-12-07T16:12:01.971Z (about 1 month ago)
- Language: JavaScript
- Size: 375 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todoList-with-webpack
## Project Description
> "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. You will build a simple website that allows for doing that, and you will do it using ES6 and Webpack!## Getting Started
Things done so far:### 1. Create list structure
- Use custom-built Webpack boilerplate
- Implement app structure using classes
- Populate to-do list dynamically on page load
- Implement event listener using promise
- Configure repository to deploy from Webpack output directory### 2. Make list interactive
- Track task status
- Implement Web Storage API for local storage of tasks### 3. Adding Functionalites
- I remove all hardcoded items from the tasks `array`.
- I created a new JavaScript file for the new functionality.
- Implemented a function for adding a new task `(add a new element to the array)`.
- Implemented a function for editing task descriptions.
- Implemented a function for deleting a task `(remove an element from the array)`.
- Implemented a function for the "Clear all completed" button `(use filter() method)`.
- By default new tasks have the property completed set to false and the property index set to the value of the new` array length`.
- Deleting a task updates all remaining items' indexes, so they represent the current list order and are unique.
- All changes to the To Do List are saved in `local storage`.## Built With
- Major languages: HTML, SCSS, JS
- Technologies used: Lighthouse, Webhint, Stylelint, ESLint, Webpack## Getting Started
To get a local copy up and running, follow the steps below in your terminal.
### Prerequisites
- Node.js
- npm### Setup
Clone the project:
```
git clone https://github.com/alexander16108/todoList-with-webpack.git
```### Install
There are currently no production dependencies.
Install the development dependencies:
```
npm install
```### Usage
The assets are in the `src` directory.
The output is in the `dist` directory.
### Run tests
To run the entire test suite:
```
npm test
```### Deployment
To build the website:
```
npm run build
```To serve the website directly:
```
npm run start
```## Screenshot of the page
![image](https://user-images.githubusercontent.com/60612329/134668112-861c82a2-d279-4602-872b-f44ac385fb1f.png)
### Live Version Link
[Live Version](https://alexander16108.github.io/todoList-with-webpack/dist)
### Contributors
***👤Alexander Mayowa Odufuye***
GitHub : [@alexander16108](https://github.com/alexander16108)
LinkedIn : [Alexander Odufuye]()
### 🤝 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!#### Acknowledgments
- Microverse.org for assigning us this project- The Amazing staff for working round the Clock to make our journey free of bumps.
- The amazing code reviewers for making us improve every day :thumbsup:
### Licence
This Project is MIT licensed