Description: Car Rental is a simple project for managing vehicle rentals. It includes features such as user authentication, viewing vehicle catalog, subscribing to vehicles, and more.
- Node.js
- MySQL
- Express.js
- Cors
- Body Parser
- Express Session
- Path
- File System
- Set Up Node.js: Ensure Node.js is installed on your system. If not, download and install it from Node.js website.
- Install Node Libraries: Open install.bat
- Start Database: Start your MySQL database server.
- Create Tables: Run the provided SQL file (
database.sql
) in the project folder to create all the required tables in your MySQL database. - Run Backend: Execute the
base.bat
file to run the backend server. This file contains all the necessary commands and queries for starting the server. - Access Localhost: Open your web browser and navigate to
localhost
to access the project. You should be able to see the application up and running.
- Login and Logout: Users can log in and out of their accounts. The current login status is displayed in the top right corner.
- View Vehicle Catalog: Users can browse the catalog of available vehicles.
- Subscribe to Vehicles: Users can subscribe to vehicles from the catalog.
- Forms: The project includes four forms for signing up, logging in, managing client information, and subscribing to vehicles.
This project is designed to provide a basic understanding of building a web application with Node.js and MySQL, covering essential functionalities such as authentication, database management, and form handling. (definitely not ai generated readme)