This is a Todo App that demonstrates backend development and RESTful API design using Spring Boot.
The Todo App is a simple application that allows users to manage their tasks. It includes features such as creating, reading, updating, and deleting (CRUD) tasks, user authentication, and authorization. The backend is built using Spring Boot, and the front end uses Thymeleaf and Bootstrap for the user interface.
- Java
- Spring Boot
- Spring MVC
- Spring Data JPA
- H2 Database
- Thymeleaf
- Bootstrap
- User authentication and authorization
- CRUD operations for todos
- RESTful web services
- H2 in-memory database for data storage
- User-friendly front-end interfaces with Thymeleaf and Bootstrap
To set up and run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/todo-app.git cd todo-app
-
Build the project:
Make sure you have Maven installed, then run:
mvn clean install
-
Run the application:
mvn spring-boot:run
-
Access the application:
Open your web browser and navigate to
http://localhost:8080
.
- Create a new Todo: Click on the "Add Todo" button and fill in the details.
- View Todos: All your todos will be listed on the main page.
- Update a Todo: Click on the "Edit" button next to the todo you want to update.
- Delete a Todo: Click on the "Delete" button next to the todo you want to remove.
If you would like to contribute to this project, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature-branch
) - Open a pull request