A simple API to create new moving trucks, create bookings and manage scheduled bookings
For development, you will need Node.js and Yarn installed on your environement.
$ git clone https://github.com/papistan/booking-api.git
$ cd api
$ yarn install
$ yarn start
$ yarn build
GET
api/jobs (list of all jobs)
api/trucks (list of all trucks)
POST
api/jobCreate (create a new job) - required inputs: name: string, date: string, startTime: Number, totalHours: Number
api/truckCreate (list of all trucks) - required inputs: name: string, startTime: Number, endTime: Number