You'll need to install Node.js (https://nodejs.org/en/download) and yarn if you haven't already. You can install yarn via npm too.
npm install --global yarn
Open your project and duplicate .env.example file as .env file and fill in all fields in it.
Open your project directory in Terminal/CMD and run the following syntax:
yarnyarn db-createyarn table-createyarn row-insertyarn dev
https://documenter.getpostman.com/view/9933041/VUjPHQcm
Request:
- Header:
- Bearer {accessToken}
Request :
- Method : POST
- Endpoint :
/signup - Header :
- Content-Type: application/json
- Accept: application/json
Body :
{
"name": "string",
"phoneNumber": "string",
"address": "string",
"email": "string",
"password": "string"
}Response :
{
"code": "number",
"status": "string"
}Request :
- Method : POST
- Endpoint :
/signin - Header :
- Content-Type: application/json
- Accept: application/json
Body :
{
"email": "string",
"password": "string"
}Response :
{
"code": "number",
"status": "string",
"data": {
"name": "string",
"phoneNumber": "string",
"address": "string",
"email": "string",
"accessToken": "string"
}
}