Skip to content

sumitprajapati1/fleetlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

FLEETLINK

Logistic vehicles booking system

Run Locally

Clone the project

  git clone https://github.com/sumitprajapati1/fleetlink.git

Go to the project directory for starting backend

  cd server

Install dependencies

  npm install

Start the server

  npm start or node --watch src/server.js

Go to the project directory for starting frontend

  cd client
  npm install
  pnpm dev

API Reference

Vehicles APIs

Api for creating vehicles
  POST /api/vehicles/     
Api for getting vehicle according to query
  GET /api/vehicles/available?capacityRequired=5000&fromPincode=100000&toPincode=999999&startTime=2025-07-30T13%3A55%3A00.000Z
Api for getting all vehicles stored in database
  GET /api/vehicles/

Bookings APIs

Api for creating bookings
  POST /api/bookings/
Api for getting all bookings
  GET /api/bookings/
Api for getting bookings from id
  GET /api/bookings/:id
Api for delete bookings from id
  DELETE /api/bookings/:id

About

Logistic vehicles booking system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published