Reference:
npm install
npm start
Example (POST) : http://127.0.0.1:4000/api/auth/signup
{
"username":"admin",
"password":"admin"
}
Example (POST) : http://127.0.0.1:4000/api/auth/signin
{
"username":"admin",
"password":"admin"
}
Example (POST) : http://127.0.0.1:4000/api/auth/changePassword
{
"username":"admin",
"password":"admin",
"newPassword" : "user"
}
Example (POST) : http://127.0.0.1:4000/api/auth/auth
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiaWF0IjoxNTg1MTIwNzg5LCJleHAiOjE1ODUyMDcxODl9.vRh2qorgcNvN7Tqnu5d1G167j22vwnrZIFxr2i0Xsj8"
}