Skip to content
Ognyan Tonchev edited this page Jun 19, 2017 · 41 revisions

Welcome to the wagio wiki!

Human Resource Management System

Requirements:

  1. open-jdk 8
  2. eclipse Neon: Eclipse IDE for Java Developers with Maven(http://www.eclipse.org/downloads/eclipse-packages/)
  3. install STS in eclipse Marketplace (Help -> Marketplace)

HowTo Create Database:

cat database/create_database.sql | mysql -u root -p

HowTo Configure Database in the project:

edit application.properties:

spring.datasource.url=jdbc:mysql://localhost:3306/organization

spring.datasource.username=root

spring.datasource.password=pass

HowTo Run:

right-click on MyApplication.java -> Run As -> Spring Boot App

Login:

username: some email from the database

password: all passwords are 'password', BCrypt encrupted in the database

REST API:

BACKLOG:

Links:

Spring Boot with MySQL: http://www.concretepage.com/spring-boot/spring-boot-rest-jpa-hibernate-mysql-example

HasRole example: http://www.baeldung.com/spring-security-expressions-basic

Get User in spring security: http://www.baeldung.com/get-user-in-spring-security

Registration with Spring Security plus complete guide about Captcha, etc: http://www.baeldung.com/spring-security-registration-password-encoding-bcrypt (http://www.programming-free.com/2015/09/spring-security-jdbc-authentication.html, http://www.programming-free.com/2015/09/spring-security-password-encryption.html)

Registration(simple example): https://medium.com/@gustavo.ponce.ch/spring-boot-spring-mvc-spring-security-mysql-a5d8545d837d

Clone this wiki locally