A basic to-do application that is implemented using Java, Spring Boot & Spring Security.
The aim of the project was to test the functionalities of Spring Boot, Spring Data JPA and Spring Security, with the focus being mostly on the latter module of the framework. The commits have been separated based on the different approaches followed when developing the application, as well as implementing each individual module.
- Java 1.8
- PostgreSQL
- Spring Boot
- Spring Data JPA
- Spring Security
- Bootstrap
- JQuery
- JSP
- Jaspyt
- Your device must have JDK 1.8 and PostgreSQL installed
- The project does not use Gradle wrapper, so you may have to configure it or download the standalone version from the link below
- Create a database named
todo
, such that the database is accessible aslocalhost:5432/todo
- Create a user named
todo-app
and authorize permission to the aforementioned user - Run the database scripts found in
todo-boot/src/main/resources/db-scripts.sql
to initialize the database- The step may become automated in an upcoming release
- Build the application using
gradle clean build bootRun
- In order to create the first user with administrative privilege, please create a user using the application and insert the
ADMIN
role in the privilege table for the user. For example:INSERT INTO prilvilege VALUES ('admin', 'ADMIN')
-- where 'admin' your username
1.1
Created by Shamah Mahbub Zoha @ ZedApps