- api/create_user.php
- api/login.php
- api/update_user.php
- api/validate_token.php
- API for user registration / sign up
- API for user login
- API for JWT validation
- API for updating user account
- Sign up page / registration form
- HTML5 validation for registration form
- Tell the user if sign up is successful
- Login using email and password
- Tell the user if login failed
- Tell the user if successfully logged in
- Restricted access to home page
- Restricted access to account page
- Show home page when logged in
- Show accounts page when logged in
- Update user information
- Tell the user if updating the account failed
- Logout user
- User access level
- Admin access level
- Admin can create user
- Admin can read different user information
- Admin can update user information
- Admin can delete user
- Admin can read users with pagination
- Admin can search users
- API for creating a user
- API for reading users list (with pagination)
- API for reading user information
- API for updating a user
- API for deleting a user
- Tell the user if a request fails or succeeds
- Validate JWT for every HTTP request.
References: https://www.codeofaninja.com/2018/09/rest-api-authentication-example-php-jwt-tutorial.html