Skip to content

Simple to-do list web app with add, remove, & error handling. Uses REST API & command line interface.

Notifications You must be signed in to change notification settings

ovinokurov/ToDo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do List Application

This application is a simple to-do list that allows the user to add and remove items. The application is built using a Flask API, HTML, CSS, and JavaScript.

Files

  • api.py: Contains the Flask API that handles the to-do list functionality.
  • index.html: Contains the HTML code for the user interface of the application.
  • script.js: Contains the JavaScript code that handles the user interface functionality.
  • styles.css: Contains the CSS code that styles the user interface of the application.
  • data.json: Contains the to-do list data that is loaded and saved by the Flask API.
  • main.py: Contains the command-line interface for the to-do list application.

Usage

To run the application, you can either run the Flask API by running python api.py in the command prompt, or you can run the command-line interface by running python main.py.

Once the application is running, you can access the to-do list in your web browser by navigating to http://localhost:5000/.

To add an item to the to-do list, enter the item in the "Add a to-do item..." input field and click the "Add" button.

To remove an item from the to-do list, enter the number of the item in the "Enter item number..." input field and click the "Remove" button.

Note

This application has one additional file main.py, which is a command-line interface for the to-do list application.

About

Simple to-do list web app with add, remove, & error handling. Uses REST API & command line interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published