This project provides an API for managing logistics operations, including users, parcels, vehicles, journeys, drivers, and couriers.
- User Management: Easily manage user accounts, authentication, and authorization to ensure secure access to the system.
- Parcel Tracking: Track parcels in real-time, from pickup to delivery, enabling stakeholders to monitor shipment progress and ensure timely arrivals.
- Vehicle Management: Efficiently manage a fleet of vehicles, including tracking vehicle locations, maintenance schedules, and driver assignments.
- Journey Tracking: Monitor and optimize journey routes, durations, and schedules to maximize efficiency and minimize delivery times.
- Driver and Courier Management: Assign drivers and couriers to specific journeys or parcels, track their availability, and manage their schedules effectively.
/users: CRUD operations for managing user accounts./parcels: Track parcels, update statuses, and manage shipments./vehicles: Manage vehicle information, including location, status, and maintenance records./journeys: Create, update, and monitor journey details, including routes and schedules./drivers: Manage driver information, availability, and assignments./couriers: Track courier details, assignments, and performance metrics.
- Packages
$ yarn install-
PostgreSQL should be installed
-
Prisma (.env file should be added to the project)
$ npx prisma generate
$ npx prisma migrate dev
$ npx prisma db push# development watch mode
$ yarn start:dev
# production mode
$ yarn run start:prod
