This project is purposed for building your awesome app that needed a starting point with basic fitur that listed bellow:
- Basic Authentication
- Login
- Register
- Forgot Password
- Verify Account
- Password Confirmation
- User Management
- Role Management
Core feature included in this project:
- React v18.2.0
- React Router v6.5.0
- Vite
- Multi Language Using i18next and react i18next
- Secure Local Storage Using secure ls
This project use the Fasity-Kit REST API Porject to work with this project. The API Spec will described bellow:
- Header :
- Authorization: "jwt.token"
- Content-Type: application/json
- Accept: application/json
- Accept-Language: id|en
Request :
- Method : POST
- Endpoint :
/api/v1/auth/login
- Header : General Header
- Body :
{
"credential": "[email protected]",
"password": "secret",
"remember": true|false,
}
- Response Success :
{
"statusCode": 200,
"status": "success",
"message": "Success Message",
"data": {
"success_data"
}
}
- Response Error :
{
"statusCode": 500,
"status": "error",
"message": "Error Message",
"error": {
"error_data"
}
}