API service built using Java to accept, reject and manage travel permissions using JWT Authentication Mechanism.
View Demo ·
Repository
·
View More »
Table of Contents
This repository has a Java backend API built using Spring Boot Framework for the frontend application - Travel Management Portal to accept, reject and manage the travel permissions raised by application users. Authentication and Authorization is secured by Json Web Tokens
To get a local copy of this backend application up and running follow these example steps.
- Sprint Tool Suite, Java & PostgreSQL have to be installed in the local system.
- Clone the repo
git clone https://github.com/bqwerr/spring-epass-service.git
- Open the project in Spring Tool Suite
- Convert to Maven & Build Project
- Change database properties in
application.properties
file - Run the application
- Now your backend API will be running on port specified in
application.properties
file. - If no port has specified, by default it should run on port
8080
. - To get the frontend application, please refer this repository.
For usage of endpoints, please refer to the Documentation
- After logging in using valid credentials, Authentication Token & Refresh Token are generated, which can be used to access the Endpoints.
- Create Java Backend API endpoints for Authentication & Authorization, Managing User Permissions & Admin Posts.
- Secure API endpoints using JWT Authentication
- Refresh Token functionality was enabled to extend user session
- Create API Docuementation
- Create a frontend & consume the API
- ResponseEntity Manipulations with Response Status