Skip to content

Spring boot and spring data JPA rest api. User and Post scenario with basics operations implemented.

Notifications You must be signed in to change notification settings

badripaudel77/spring-boot-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-rest-api

Spring boot and spring data JPA rest api. User and Post scenario with basics operations implemented.


Small social site like REST API design with following features include.

  1. User can register and login (for now I am skipping email verification and password reset )
  2. User can perform CRUD operation for his / her account.
  3. User can post a post with few details like (image url, title,etc.) and CRUD operations.

TECH STACKS :

JAVA, Spring Boot, Spring data JPA, MySQL, REST API,Maven etc.

Run Project Using maven using @command : mvn spring-boot:run


Documenting APIs using Swagger [Swagger 2]

  • Add the Swagger 2 dependency
  • Enable Swagger 2 using @EanbleSwagger2 dependency in the root class (containing main class) or using configuration file

Access using : baseURL/v2/api-docs [for json docs]

Swagger-UI dependency [for html-ui docs] Access using : baseURL/swagger-ui.html [for HTML UI docs]

ScreenShot ScreenShot ScreenShot

About

Spring boot and spring data JPA rest api. User and Post scenario with basics operations implemented.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages