This documentation provides a comprehensive guide for setting up and using the Minimalist Todo app built using the Spring framework, Spring Boot, Hibernate, and Spring Security.
- Introduction
- Installation
- Configuration
- Usage
- Contributing
- License
The Minimalist Todo app is a simple yet powerful task management application built using the Spring framework. It allows users to create, update, and manage their tasks effectively. The application utilizes Spring Boot to simplify the setup and configuration process, Hibernate for data persistence, and Spring Security for authentication and authorization.
To install the Minimalist Todo app, follow the steps below:
- Ensure that you have Java Development Kit (JDK) version 8 or above installed on your system.
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd minimalist-todo-app
- Build the project using Maven:
mvn clean install
Before running the application, you need to configure the following:
- Database Configuration: Open the
application.properties
file located in thesrc/main/resources/application.properties
directory. Update the database connection properties to match your local database configuration. I am making use of the MySQL database for this project. You can use that or in memory database such as H2. - Security Configuration: Open the
SecurityConfig.java
file located in thesrc/main/java/com/mytodoapp/springboot/mytodoapp/security/SpringSecurityConfiguration.java
directory. Customize the security configurations such as authentication providers, access control rules, etc., according to your requirements.
To run the Minimalist Todo app, execute the following command:
java -jar target/minimalist-todo-app.jar
Once the application is up and running, you can access it by navigating to http://localhost:8089
in your web browser.
After you enter the credentials you would see the Home page.
From here you can view your todos, update or logout and come to see later. All your todos are saved in the database.
Update/Add todo page –
Contributions to the Minimalist Todo app are always welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the project's GitHub repository.
The Minimalist Todo app is open-source software released under the MIT License. You are free to modify and distribute the application as per the terms of the license.