Skip to content

Own REST API to enable a digital wallet with authentication for storing personal digital keys.

Notifications You must be signed in to change notification settings

jongwon254/Digital-Key-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

key

Digital Key API

Own REST API to enable a Digital Wallet App with authentication for storing personal digital keys.

Technologies

  • Language: Java
  • Backend:
    • REST API built with Spring Boot and MySQL Database
    • Authentication with Spring Security and JWT (Password HS256 Hashing)
    • Deployed with Docker on Azure Cloud Kubernetes Cluster
  • Frontend:
    • Designed with Figma
    • Built with XML in Android Studio

Functionality

  • REST API has three end points for users to register/login and to retrieve the digital keys from their wallet
  • Data is stored in a MySQL database with the hashed password
  • Examples of requests and responses are shown below
  1. Register (POST): base_url/auth/register
{
  "email": "kie.scott@gmail.com",
  "password": "12345",
  "firstName": "Kie",
  "lastName": "Scott"
}

{
  "id": 1,
  "firstName": "Kie",
  "lastName": "Scott",
  "email": "kie.scott@gmail.com"
}
  1. Login (POST): base_url/auth/login
{
  "email": "kie.scott@gmail.com",
  "password": "12345"
}

{
  "token": "eyDijfD93.DKjd2..."
}
  1. Keys (GET): base_url/key (with the authentication bearer token)
[
  {
    "id": 1,
    "firstName": "Kie",
    "lastName": "Scott",
    "carBrand": "BMW",
    "carModel": "iX"
  },
  {
    "id": 2,
    "firstName": "Kie",
    "lastName": "Scott",
    "carBrand": "Polestar",
    "carModel": "Polestar 2"
  }
]

Screenshots

azure

More Info

Visit Website

About

Own REST API to enable a digital wallet with authentication for storing personal digital keys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published