Skip to content

SalAkBuK/AutoExperts-Frontend

Repository files navigation

Requirements

Before running the project, make sure you have:

  • Node.js installed
  • npm installed
  • Backend APIs running for:
    • Authentication
    • Bookings
    • Products
    • Auctions
    • Chatbot
    • Price prediction

Installation

Clone the repository:

git clone https://github.com/SalAkBuK/AutoExperts-Frontend.git
cd AutoExperts-Frontend

Install dependencies:

npm install

Run Locally

Start the development server:

npm run dev

Open the local development URL shown in your terminal.

Usually it will be:

http://localhost:5173

Build for Production

Create a production build:

npm run build

Preview the production build locally:

npm run preview

Available Scripts

Start Development Server

npm run dev

Runs the app in development mode using Vite.

Build Project

npm run build

Builds the app for production.

Preview Build

npm run preview

Runs a local preview of the production build.

Lint Code

npm run lint

Runs ESLint checks for JavaScript and JSX files.

Main Routes

Route Description
/ Landing page
/dashboard Admin dashboard
/booking-form Vehicle inspection booking form
/booking-details Booking details page
/product-form Add or manage product form
/add-car-form Add auction car form
/auction-car-list Auction car list
/collection Used-car collection page
/product/:productId Used-car product detail page
/predictor Car price predictor
/member Member page
/member-login Member login
/member-signin Member signup
/ai-assistant AI assistant chatbot
/forms/failure Failure response page
/forms/success Success response page
/profile/:memberId Member profile page
/auction-platform Auction platform
/member-platform Member auction platform
/car/:carId Auction car detail page
/car-details Car details page
/logout Logout route

Backend API Notes

This repository contains the frontend only. The app expects backend services for:

  • Admin authentication
  • Member authentication
  • Member registration
  • Booking form submission
  • Booking status/details
  • Product listing
  • Product upload
  • Auction car listing
  • Auction bidding
  • Chatbot responses
  • Car price prediction

For production, it is recommended to keep API URLs in environment variables instead of hard-coding them in source files.

Example:

VITE_API_BASE_URL=
VITE_SOCKET_URL=
VITE_CHATBOT_API_URL=
VITE_PREDICTOR_API_URL=

Deployment

Build the project:

npm run build

After building, deploy the generated dist/ folder to a static hosting provider.

Common deployment options:

  • Vercel
  • Netlify
  • GitHub Pages
  • cPanel hosting
  • Apache server
  • Nginx server

Make sure your backend APIs are deployed and accessible from the frontend domain.

Notes

  • This is the frontend application for AutoExperts.
  • Backend services must run separately.
  • Auction features may require real-time backend support.
  • Some features depend on external API endpoints.
  • Review API URLs before deploying to production.
  • Keep sensitive keys and backend credentials out of the frontend repository.

License

No license file has been added yet. Add a license if you plan to make the project open source or distribute it publicly.

About

AutoExperts frontend for car inspection bookings, used-car listings, auctions, member accounts, price prediction, and AI car assistance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors