Skip to content

hedza06/spring-boot-validators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Validators

This is a starter project for Spring Boot Developers. It represents use of Spring Boot custom validators.

Running the project

  1. Create database with name test
  2. Open terminal and navigate to your project
  3. Type command mvn install
  4. Type command mvn spring-boot:run

Check application running state

Route: http://localhost:8080/

Available profiles

  • Development profile (dev)
  • Production profile (prod)

Authentication

Route: /auth/authenticate
Method: POST
Content-Type: application/json
Request payload: { username: "admin", password: "admin" }
Response: { id_token: "token_hash" }

Packaging for production

  1. mvn clean
  2. mvn -Pprod package

Author

Heril Muratović
Software Engineer

Mobile: +38269657962
E-mail: hedzaprog@gmail.com
Skype: hedza06
Twitter: hedzakirk
LinkedIn: https://www.linkedin.com/in/heril-muratovi%C4%87-021097132/
StackOverflow: https://stackoverflow.com/users/4078505/heril-muratovic

About

This repository is about custom request validation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages