PerMiles is a fleet management software, providing payroll, safety record, tracking and driver app. For more information visit permiles.com. This app is a node app which is dedicated to expose http endpoints and graphql for driver app and company software.
To get started first create docker containers for redis and postgres:
docker compose up
Install dependencies:
npm install
Build server:
npm run build
Build server:
npm run build
Start server:
npm run dev
You can check different enpoints by importing postman scripts in your postman from here
Driver app graphql is exposed on driver-app/graphql
.
Software graphql is exposed on /graphql