http://localhost:8000/
// Request Method: GET
http://localhost:8000/api/employees
// Request Method: GET
http://localhost:8000/api/employee/id
// Request Method: POST
http://localhost:8000/api/employee/create
// Body
{
"name": "John Doe",
"salary": 2000,
"age": 29
}
// Response
{
"success": true,
"data": {
"name": "John Doe",
"salary": "20000",
"age": "20",
"id": "13681"
}
}
-
Install NPM Dependencies
~ yarn
-
Run APP
~ yarn start
-
Run APP Development
~ yarn dev
-
Test APP
~ yarn test