- React.js
- NodeJS
- MongoDB
https://payangonline.me/{endpoint}
- Node and npm
- MongoDB
- git clone https://github.com/Criedes/SOA2019_Group6.git
- cd SOA2019_Group6
- cd api
- use command.
cd SERVICE_NAME
- use command
set NODE_ENV=test
use command. npm install
use command. npm start
Event | Description |
---|---|
GET /api/customers/:id |
Get information of customer by ID. |
POST /api/customers/register |
Post request body to save in database. |
Event | Description |
---|---|
POST /api/auth/customer |
Authentication customer in auth service by username and password. |
POST /api/auth/mechanic |
Authentication mechanic in auth service by username and password. |
Event | Description |
---|---|
GET /api/mechanics/find |
get information of all mechanics. |
GET /api/mechanics/find/:id |
get information of mechanic by ID. |
GET /api/mechanics/search |
get information of mechanic by input data. |
POST /api/mechanics/register |
post register new mechanic by request body. |
cd /UITest
run with
robot PayangOnline-UITesting.robot