smzoha / todo-boot

A basic to-do application implementation using Spring Boot, Spring Data JPA & Spring Security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Z-ToDo

A basic to-do application that is implemented using Java, Spring Boot & Spring Security.

Motivation

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.

Tech Used

  • Java 1.8
  • PostgreSQL
  • Spring Boot
  • Spring Data JPA
  • Spring Security
  • Bootstrap
  • JQuery
  • JSP
  • Jaspyt

How to Use

  1. 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
  2. Create a database named todo, such that the database is accessible as localhost:5432/todo
  3. Create a user named todo-app and authorize permission to the aforementioned user
  4. 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
  5. Build the application using gradle clean build bootRun

Notes

  • 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

Current Version

1.1

Prerequisite Links


Created by Shamah Mahbub Zoha @ ZedApps

About

A basic to-do application implementation using Spring Boot, Spring Data JPA & Spring Security


Languages

Language:Java 99.0%Language:CSS 1.0%