RESTful API Demonstration
This web page demonstrates a RESTful API microservice
created using Java Spring Boot.
Feel free to create an account to get USER role access.
What is a RESTful API service?
"A REST API (also known as RESTful API) is an application programming interface (API or web API)
that conforms to the constraints of REST architectural style and allows for interaction with
RESTful web services. REST stands for representational state transfer and was created by
computer scientist Roy Fielding." redhat circa.2020
TLDR?
In other words, you are able to interact with a server/database and make changes or retrieve data within a predefined scope!
Architecture of Back End
The back-end is constructed using a Controller-Service-Repository-Entity pattern.This ensures distinct functions for each component.
When interacting with the front-end, DTO's(Data Transfer Objects) are employed
to ensure sensitive user data is not retrieved.
Passwords are hashed/salted with BCrypt in the back end, ensuring only hashes
are stored in the database.
Additionally all USER-role APIs have checks to remove the risk of API end point manipulation, keeping user information safe and confidential.
If you've read this far, feel free to give it a go and check out the repository below. Any feedback would be welcome.