A simple Todo List web application built with Java, Spring Boot, Maven, and PostgreSQL.
- User registration and authentication
- Add, edit, and delete tasks
- Java 17+
- Spring Boot
- Spring Security
- Maven
- PostgreSQL
- HTML, CSS, JavaScript (frontend)
- Java 17 or higher
- Maven
- PostgreSQL
-
Clone the repository:
git clone https://github.com/pthormodsen/TODOListSpringBoot.git cd TODOListSpringBoot -
Configure the database:
- Create a PostgreSQL database named
tododb. - Update the
.envfile with your database credentials:SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/tododb SPRING_DATASOURCE_USERNAME=your_db_user SPRING_DATASOURCE_PASSWORD=your_db_password SPRING_DATASOURCE_DRIVER_CLASS_NAME=org.postgresql.Driver
- Create a PostgreSQL database named
-
Build and run the application:
mvn clean install mvn spring-boot:run
-
Access the app:
- Open your browser and go to
http://localhost:8080
- Open your browser and go to
- The backend code is in
src/main/java/no/patreek/todolistspringboot/ - The frontend files are in
src/main/resources/static/
This project is licensed under the MIT License.