Skip to content

davinderpalsingh/spring-boot-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobile-app-ws is a Spring Boot Application which is intended to showcase the following:

  1. How to write a new rest webservice end point.
  2. How to use My SQL database with Spring Boot.
  3. How to use Spring Data JPA to map entities with DB and persist them.
  4. How to configure rest web service end points as public and private by using Spring Security Framework.
  5. How to use Spring Security Framework Encryption api to encrypt password before persisting in DB.
  6. How to add support for XML payload and webservice response.

As part of this application, 4 end points are implemented:

Http Method URI Access type Description GET /users/{userid} public Retrieves user details from database
POST /users public Create new user: Sign up / Create Account PUT /users/{userid} private Update existing user details DELETE /users/{userid} private Deletes existing user

To see the webservices in action:

  1. Clone repo.
  2. Install My SQL database Community Edition.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages