Automart
An enterprise dealership management system with a generative AI assistant, advanced security, and a high-performance, cache-first architecture.
🚧Internal Services Demo Coming Soon!
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
PHOTO
Overview
Automart addresses the complex operational needs of modern car dealerships by providing a unified, high-performance platform. Built with Next.js 16 and React 19, it features a secure staff portal and a public customer interface. The architecture prioritizes security with custom JWT authentication, multilingual support with full RTL capabilities, and intelligent automation via a generative AI assistant. Performance is maximized through an enterprise-grade Redis caching strategy, ensuring a responsive user experience.
Technical Stack
Next.js 16 (App Router)
React 19
TypeScript
PostgreSQL with Drizzle ORM
Key Features
- Performs complex queries against a sandboxed, read-only database replica for safety.
- Utilizes a two-stage process (decision-making & data synthesis) with Google Gemini & Deepseek models.
- Provides instant analysis on vehicle specifications, model comparisons, and sales metrics.
- Maintains conversational context for follow-up questions and formats responses in Markdown.
Architectural Highlights
- Cache-first architecture with Upstash Redis, drastically reducing database queries and latency.
- Two-stage AI architecture with a sandboxed, read-only database connection for safe data analysis.
- Secure, stateful session management using custom JWTs stored in PostgreSQL with device tracking.
- Granular, hierarchical role-based access control (RBAC) enforced at middleware (proxy) and API levels.
- Atomic database operations with a transaction system ensuring data integrity and rollback.
- End-to-end type safety enforced by TypeScript, Drizzle ORM, and Zod validation.
- Version control system for announcements with complete edit history and rollback capabilities.
- Robust, centralized error handling and logging for system-wide stability and maintainability.
Project Status
- Full authentication & authorization system with 4-level role-based access control.
- Public landing page with Google Maps integration and real-time trip calculations.
- Message board with full CRUD, advanced filtering, bulk operations, and PDF exports.
- Staff management module with an AI-enhanced warning system and OTP workflows.
- Staff Session Management Dashboard for viewing/managing all active sessions with device details and sign-out controls.
- Announcement system with version control, AI translation, and targeted distribution.
- Generative AI assistant with two-stage processing and secure database integration.
- Complete parts inventory system with category/subcategory organization, stock tracking, and ledger-based adjustments.