Skip to content

piechnikk/car-rental

Repository files navigation

car-rental

This is a responsive car rental website built using JavaScript, Svelte, TailwindCSS, PHP and MySQL. The project was created in secondary school.

Table of Contents

Live Demo

Explore the live demo of the car-rental website.

ACCOUNTS

  • admin - username: admin, password: admin
  • mod - username: mod, password: mod

Setup

To get a copy of this project up and running on your local machine, follow these steps:

  1. Clone the repository to the place where the php interpreter is running (e.g. xampp - htdocs) :
git clone https://github.com/piechnikk/car-rental.git
  1. Create a MySQL database named cars and import src/database/cars.sql

Usage

Open your preferred web browser and navigate to http://localhost/car-rental (address can be different depending on the php interpreter used) to access the running application.

FEATURES

  • Login/Registration
  • Car Reservation
  • Admin can change user type and activate user account
  • Mod can accept and reject reservations requests
  • QR code when reservation is accepted

INTERFACE

cars list car details sign in sign up my reservations mod admin

Technologies

JavaScript Svelte TailwindCSS PHP MySQL

Note: This project was created in secondary school and serves as an example of a responsive car rental website.