Skip to content

omoluabidotcom/AutosDealerManagementSystem

Repository files navigation

Autos Dealer Management System (MySQL Edition)

This project now uses a MySQL backend API instead of Supabase.

Stack

  • Frontend: Vite + React + TypeScript + Tailwind
  • Backend: Node.js + Express
  • Database: MySQL 8+

Setup

  1. Install dependencies:
npm install
  1. Create .env from .env.example and update values.

  2. Create schema and seed data in MySQL:

-- Run in order
SOURCE mysql/migrations/001_schema.sql;
SOURCE mysql/migrations/002_seed.sql;
  1. Start backend API:
npm run dev:api
  1. Start frontend app:
npm run dev

API Notes

  • Auth endpoints:
    • POST /api/auth/signup
    • POST /api/auth/login
    • GET /api/auth/session
    • POST /api/auth/logout
  • Data endpoints:
    • GET /api/db/:table
    • POST /api/db/:table
    • PATCH /api/db/:table
    • DELETE /api/db/:table

Default Seed Login

  • Email: admin@ultimateautos.com
  • Password: admin123

If needed, regenerate a bcrypt hash and update mysql/migrations/002_seed.sql.

About

Automotive Dealer Management System – A full-featured management platform built with TypeScript designed to help automotive dealers efficiently manage vehicle inventory, customer relationships, and sales transactions. The system provides tools for tracking vehicles, managing dealer operations, and optimizing the sales workflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors