A comprehensive vehicle management system built with modern web technologies.
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
- Supabase for backend services
- Stripe for payments
- Mapbox for location services
- Node.js 16 or higher
- A Supabase account
- A Stripe account (for payment processing)
- A Mapbox account (for maps and routing)
- Clone the repository:
git clone <YOUR_GIT_URL>
cd towtrace
- Install dependencies:
npm install
-
Set up your Supabase project:
- Create a new project at supabase.com
- Set up authentication providers
- Run the database migrations
- Configure RLS policies
-
Configure the required secrets in your Supabase project:
- STRIPE_SECRET_KEY: Your Stripe secret key
- MAPBOX_API_KEY: Your Mapbox API key
-
Start the development server:
npm run dev
You can edit files using your preferred IDE and method:
- Use your preferred code editor
- Edit files directly in GitHub
- Use GitHub Codespaces
To create a production build:
npm run build
To preview the production build:
npm run preview
The project can be deployed to any static hosting platform:
- Build the project:
npm run build
- Deploy the
dist
directory to your chosen platform:
- Netlify
- Vercel
- GitHub Pages
- AWS S3
- Firebase Hosting
- Vehicle inventory management
- Impound lot management
- Dispatch system with AI route optimization
- Customer portal for vehicle status and payments
- Real-time tracking and notifications
- Analytics and reporting
- Role-based access control
- Multi-organization support
- All API keys and secrets are stored securely in Supabase
- Authentication via Supabase Auth
- Row Level Security (RLS) policies protect data access
- HTTPS required for all API calls
- Regular security audits and updates
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.