A comprehensive logistics tracking system with real-time shipment monitoring, secure payments, and multi-role dashboards.
- Secure Authentication - Password hashing, JWT tokens, input validation
- Multi-Role System - Admin, Company, Driver dashboards
- Real-time Tracking - Live location updates via SSE
- Customer Tracking - Public tracking without login
- Database Management - Proper migrations and schema
- Docker Deployment - Production-ready containerization
- Modern UI - Responsive design with Tailwind CSS
- Payment gateway integration
- AI assistant enhancements
- Advanced notifications
- Backend: Node.js + Express + PostgreSQL
- Frontend: Next.js + React + Tailwind CSS
- Database: PostgreSQL with proper migrations
- Deployment: Docker + Docker Compose
- Security: bcrypt, JWT, rate limiting, input validation
-
Clone and Setup
git clone <repository-url> cd TrackAS_Final_MVP_complete
-
Deploy with Docker
docker-compose up -d
-
Initialize Database
docker-compose exec backend node scripts/migrate.js docker-compose exec backend node scripts/seed.js
-
Access Application
- Frontend: http://localhost:3000
- Backend: http://localhost:4000
- Admin: admin@trackas.local / admin123
- Company: company1@trackas.local / company123
- Driver: driver1@trackas.local / driver123
- Deployment Guide - Complete deployment instructions
- API Documentation - Backend API reference
- Database Schema - Database structure
# Backend development
cd backend
npm install
npm start
# Frontend development
cd frontend
npm install
npm run dev- Passwords are hashed with bcrypt
- JWT tokens for authentication
- Input validation and sanitization
- Rate limiting on API endpoints
- CORS configuration
- Helmet for security headers
See DEPLOYMENT.md for complete production deployment instructions including:
- Environment configuration
- Security considerations
- Scaling recommendations
- Monitoring and maintenance
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.