GithubHelp home page GithubHelp logo

be_app_hit's Introduction

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": "[email protected]",
    "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

be_app_hit's People

Contributors

fossabot avatar mynamebvh avatar

Forkers

hartl3y94

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.