- This application serves API's for library management.
These instructions will get you a copy of the project up and running on your local machine and on Cloud.
What things you need to install before running app.
Java 8, Postgres, Maven
Login to postgres.
Run: create database library
Steps to deploy on local machine(Linux machine)
- Clone project into local machine.
- Goto root project directory.
- Run LibraryService.java
------ or -------
- Clone project into local machine.
- Goto root project directory.
- cd /target
- Run: java -jar library-service-1.0.0.jar
Steps to deploy on cloud(Linux machine)
- Clone project into local machine.
- Goto root project directory.
- To build projet Run: mvn package
- cd /target
- Run: java -jar library-service-1.0.0.jar
Note: App Port and database connection details can be changed from application.yml
Token Format: Bearer xxxx xxx - (jwt) get it on signIn Ex: Bearer exjhjkhdksjhknk.asjdjkds.sdkksnd
User roles allowed: ROLE_ADMIN,ROLE_USER
- SpringBoot - The java web framework used
- Maven - Dependency Management
- Swagger - document, and consume RESTful Web services