Skip to content

Criedes/SOA2019_Group6

Repository files navigation

CircleCI

SOA_Group6

Technology ที่ใช้ในระบบ

  • React.js
  • NodeJS
  • MongoDB

Official Website

Deploy API

  • https://payangonline.me/{endpoint}

Prometheus

Eureka(Service Register)

Grafana

How to run API

Require Software

  1. Node and npm
  2. MongoDB

Set up Environment

  1. git clone https://github.com/Criedes/SOA2019_Group6.git
  2. cd SOA2019_Group6
  3. cd api

Change to Each API Directory

  1. use command. cd SERVICE_NAME
  2. use command set NODE_ENV=test

Install node module

use command. npm install

Start server to run a service

use command. npm start

API

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.

RUN: UI TESTING

cd /UITest

run with

robot PayangOnline-UITesting.robot

About

Repository for SOA Mini Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages