Skip to content

RESTful API with Spring Boot, Authentication with JWT

Notifications You must be signed in to change notification settings

tattrung15/BookShop_Server

Repository files navigation

Bookshop Server

Requirements:

  • Java JDK 11
  • PostgreSQL

Environment variables:

  • PORT=8080
  • DB_HOST=localhost
  • DB_PORT=5432
  • DB_NAME=bookshop
  • DB_USERNAME=postgres
  • DB_PASSWORD=123
  • JWT_SECRET=bookshop
  • MAIL_USERNAME=<gmail_username>
  • MAIL_PASSWORD=<gmail_password>
  • USER_FIRST_NAME=Admin
  • USER_LAST_NAME=Admin
  • USER_USERNAME=admin
  • USER_PASSWORD=admin
  • USER_ADDRESS=Ha Noi
  • USER_AMOUNT=9999999999
  • USER_ROLE=ADMIN
  • USER_EMAIL=example@gmail.com
  • USER_PHONE=0123456789

API documentations:

http://localhost:8080/api/swagger-ui

About

RESTful API with Spring Boot, Authentication with JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published