GithubHelp home page GithubHelp logo

austinpwd / javascript-todolist Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.35 MB

A To-Do List app with CRUD functionality inspired by React Redux, written in vanilla JavaScript.

HTML 2.90% JavaScript 83.42% SCSS 13.68%

javascript-todolist's Introduction

A To-Do List Web App by Austin Doan.

This application was made using rudimentary JavaScript and components, and a medium amount of CSS (relative to its previous state). The UI was heavily redesigned after receiving feedback.

Install

In order to run the web app, you will need to install the projects node_modules by running npm install

Build

You will need to build the web application by running npm run build

Deployment

You can start a local instance of the web application by running npm start

By default, the instance will bind to localhost:1234. There is an already deployed instance available to view at https://austinpwd-todo-app.netlify.app

Intention and Functionality.

The intention of this application is to showcase asynchronously fetching data from a JSON file, converting the data from JSON format into String format and then loading that data into an array, and display the output of the array to the user within a To-Do List structure. It has been further developed, enabling Add, Edit, and Remove functionality to the To-Do List items. All changes to the List are currently not persistent, and will be undone once the web app has been unloaded.

This project prominently features routing with single-page content loading. It takes advantage of the Parcel module bundler, which implements several optimizations such as tree-shaking and minification. The bundled index.js is dynamically compiled, allowing for the assets of the project, such as images, to be optimized and bundled.

The data that is displayed to the user in this project is parsed from a JSON file. A feature of this project is the asynchronous fetching of this JSON file. The application implements the relatively new async function and the await keyword, which was added in ECMAScript 2017.

This app now features a CRUD implementation, allowing the user to manipulate the data. It gives the ability to add, edit, and remove from an array. The design and functionality is inspired by the React Redux library. Changes to the array or state are currently not persistent due to time constraints.

The project consists of six pages.

  1. A main home page, which is used as somewhat of a splash screen to direct the user to the other pages.

  2. A To-Do page, which the user gets directed to via the home page by use of a Router.

  3. A Add To-Do page, allowing the user to create more To-Dos. It employs the use of an array, with an interaction layer to add items. The design and function is inspired by the React Redux library.

  4. A Edit To-Do page, enabling the user to modify any existing To-Dos that are currently stored in the previously mentioned array.

  5. A Remove To-Do page, giving the user the ability to remove any existing To-Dos.

  6. A 404 Not Found page, which is displayed to the user if they enter a path name that is not routable. The page displays the error as well as a link back to the main home page.

javascript-todolist's People

Contributors

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