Skip to content

Weslin-0101/Java-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API - SpringBoot

On this page, you can find the documentation for the RESTful API developed in SpringBoot.

If you want, you can to read this ReadMe in Portuguese PT-BR Here

Author:

Wesley Lira - Linkedin

About the project:

RESTful API developed in SpringBoot for my project to put into practice everything I needed to learn about SpringBoot. The project consists of an API for an account management system, where you can:

  • Create an account
  • List all accounts by ID, name, or email
  • Update an account
  • Delete an account
  • Login system generating JWT Token with a duration of 1 hour
  • Route access system through JWT Token

In total, the project has practical knowledge in areas such as:

  • SpringBoot
  • Spring Security
  • Spring Data JPA
  • Spring Validation
  • Unit Testing with Junit and Mockito
  • Swagger UI
  • PostgreSQL database

Technologies used:

  • Java 11
  • SpringBoot 3.1.1
  • Spring Security
  • PostgreSQL
  • Swagger UI
  • Docker

How to run the project:

Prerequisites: Java 11, PostgreSQL, Docker

After cloning the project, you should run the following command in your terminal to start the database locally:

    docker compose up

After that, simply run the project in SpringBoot and access the API documentation by opening your web browser and navigating to the following address:

    http://localhost:8080/swagger-ui.html

If you want to import the API documentation into Postman, simply access the link above for documentation and click on the following link:

    http://localhost:8080/v3/api-docs

Now you're all set to test the API :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages