Skip to content

indra-yana/react-starter

Repository files navigation

React Starter

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:

API

This project use the Fasity-Kit REST API Porject to work with this project. The API Spec will described bellow:

General Header Request :

  • Header :
    • Authorization: "jwt.token"
    • Content-Type: application/json
    • Accept: application/json
    • Accept-Language: id|en

Authentication

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"
    }
}

TODO

About

React + Vite for Starter Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published