Skip to content

Latest commit

Β 

History

History
78 lines (57 loc) Β· 1.86 KB

File metadata and controls

78 lines (57 loc) Β· 1.86 KB

Last Mile Delivery Platform

A comprehensive delivery platform connecting businesses with nearby riders for efficient package delivery services.

πŸš€ Quick Deploy

Deploy to Railway (Recommended)

Deploy on Railway

Deploy to Render

Deploy to Render

Deploy to Heroku

Deploy to Heroku

πŸ—οΈ Manual Deployment

Prerequisites

  • Node.js 18+
  • MongoDB database
  • Redis (optional, for caching)

Environment Variables

NODE_ENV=production
JWT_SECRET=your-jwt-secret
JWT_REFRESH_SECRET=your-refresh-secret
MONGODB_URI=your-mongodb-connection-string
REDIS_URL=your-redis-url (optional)

Installation

# Install dependencies
npm install

# Build frontend
npm run build

# Start server
npm start

πŸ§ͺ Testing

Visit your deployed URL to test:

  • User registration (Business/Rider)
  • Offer creation and management
  • Real-time notifications
  • Location-based matching

πŸ“± Features

  • Role-based Authentication (Business/Rider/Admin)
  • Geospatial Queries for location-based matching
  • Real-time Notifications
  • Payment Processing
  • Delivery Tracking
  • API Versioning (V1 & V2)
  • Redis Caching for performance
  • Responsive Design

πŸ”§ API Endpoints

  • GET /health - API health check
  • POST /api/auth/register - User registration
  • POST /api/auth/login - User login
  • GET /api/offers - Browse offers
  • POST /api/offers - Create offer
  • GET /api/version - API version info

🎯 Live Demo

Your application will be available at your Railway deployment URL.

πŸ“ž Support

For issues or questions, check the deployment logs in your Railway dashboard.