This is a simple Todo List project that allows users to create, read, update, and delete (CRUD) todos. The project is built using Java and utilizes a JSON file to store the todo data.
- Create new todos
- Read existing todos
- Update existing todos
- Delete existing todos
- Store todo data in a JSON file
- Java 17 (Java 8 or later will work fine)
- JSON file for storing todo data
To run the project, simply compile the Java files and run the Main
class. The project will create a JSON file called data.json
in the same directory, which will store the todo data.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License.
- [Any libraries or frameworks used in the project]
The todo data is stored in a JSON file called data.json
. The JSON format is as follows:
[
{
"id": 1,
"name": "Todo 1",
"completed": false
},
{
"id": 2,
"name": "Todo 2",
"completed": true
}
]
Note: This is just a basic example of the JSON format. You can add or remove fields as needed to suit your requirements.