Skip to content

Backend App HIT - Spring Boot, Spring JPA, Spring Security, Socket,...

Notifications You must be signed in to change notification settings

fossabot/BE_APP_HIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐ GETTING STARTED

FOSSA Status

INTRODUCTION

1 sản phẩm của nhóm giúp quản lí clb HIT - ĐHCNHN

TEAM MEMBER

API DOCS

API Authentication

API Login

POST: localhost:8080/api/v1/auth/login

Body: (Type Json)

{

    "username": "2019606167",
    "password": "Hoangdz23@"
}

Validate:

username: bắt buộc là số và có 10 kí tự
password: Độ dài tối thiểu 8 kí tự, có ít nhất 1 chữ Hoa, 1 chữ thường, 1 kí tự đặc biệt

Response:

{
    "statusCode": 200,
    "jwt": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyMDE5NjA2MTY3IiwiZXhwIjoxNjIxMjk5Mzc3LCJpYXQiOjE2MjEyNjMzNzd9.MBNQ_JZomk9GMBXDkxbew_l8vUvveWcX2a4hunxQgSE",
    "userId": 1,
    "username": "2019606167",
    "role": "MEMBER"
}

API Signup

POST localhost:8080/api/v1/auth/signup

Body: (Type Json)

{
    "fullname": "Hoang Bui",
    "userName": "2019606127",
    "password": "Hoangdz23@",
    "email": "mynamebvh@gmail.com",
    "phone": "0979150931",
    "birthday": "23/12/2001"
}

Validate:

username: bắt buộc là số và có 10 kí tự
password: Độ dài tối thiểu 8 kí tự, có ít nhất 1 chữ Hoa, 1 chữ thường, 1 kí tự đặc biệt
email: đúng định dạng
phone: đúng định dạng
birthday: đang fix :v

Response:

Update

License

FOSSA Status

About

Backend App HIT - Spring Boot, Spring JPA, Spring Security, Socket,...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages