Skip to content

Riku737/Car-Dealership-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner GitHub Created At GitHub commit activity HTML CSS JavaScript PHP

Car Dealership Website

A PHP and mySQL object oriented-based web application for managing and displaying cars for sale, with car inventory and admin management features.

This website was built alongside the PHP: Object-Oriented Programming with Databases course on LinkedIn Learning, but it is not an exact reproduction. The original course project centered on a bicycle shop with a limited UI/UX and no image functionality. For this project, the concept was adapted and extended into a dealership context, with enhanced UI/UX design and additional features such as vehicle images and inventory search filters.

Key Features

  • Public-facing car listings with details and images
  • Admin/staff dashboard for managing cars and users
  • User authentication (login/logout)
  • Pagination for car listings
  • File upload for car images (with unique file naming)
  • Responsive navigation and modern UI

Screenshot of app Screenshot of app Screenshot of app

Requirements

  • PHP 7.4+
  • MySQL/MariaDB
  • Web server (Apache recommended, XAMPP compatible)

Setup Instructions

  1. Clone or download this repository.
  2. Import car_dealership.sql into your MySQL database.
  3. Configure your database credentials in private/database_credentials.php.
  4. Place the project in your web server's root directory (e.g., htdocs for XAMPP).
  5. Access the site via your browser (e.g., http://localhost/Car-Dealership-Website/public/).

Example Account Login

You can use the following example admin account to log in:

Username: JohnDoe123
Password: MySecure!Pass123

Usage

  • Public users can browse cars, view details, and contact the dealership.
  • Staff/admin users can log in to manage car listings and user accounts.

Customization

  • Add or modify car makes, models, and options in the Car class.
  • Update styles in public/stylesheets/.
  • Add JavaScript functionality in public/js/.

Security Notes

  • The private/ directory is not web-accessible for security.
  • Uploaded files are renamed with unique IDs to prevent conflicts.
  • Always validate and sanitize user input.

Disclaimer

This project was completed by following along with the LinkedIn Learning courses:

The code and structure closely reflect the instructional content provided in these courses, and the project was developed as part of a personal learning exercise.

About

Car dealership website with vehicle inventory and admin management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors