Skip to content

Restful CRUD nearby shops API using Spring Boot, Spring Security, JWT, hibernate , JPA

License

Notifications You must be signed in to change notification settings

Morojs/Nearby-Shops-Rest-Api-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic badge Safe

Spring Boot, MySQL, Spring Security, JWT, JPA, Rest API

Build Restful CRUD API for a nearby shops application using Spring Boot, Mysql, JPA and Hibernate.

Steps to Setup

1. Clone the application

git clone https://github.com/Morojs/Nearby-Shops-Rest-Api-backend.git

2. Create Mysql database

create database db_nearbyshops

3. Change mysql username and password as per your installation

  • open src/main/resources/application.properties
  • change spring.datasource.username and spring.datasource.password as per your mysql installation

4. Run the app using maven

mvn spring-boot:run

The app will start running at http://localhost:8081

Explore Rest APIs

The app defines following CRUD APIs.

Auth (JWT) :

Method Url Decription Sample Valid Request Body username password
POST /authenticate Authentification JSON javainsue password

forthebadge

About

Restful CRUD nearby shops API using Spring Boot, Spring Security, JWT, hibernate , JPA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages