Skip to content

Matqyou/CarRental-aha

Repository files navigation

Car Rental

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.

Required Dependencies

  • Node.js
  • MySQL
  • Express.js
  • Cors
  • Body Parser
  • Express Session
  • Path
  • File System

How to Run the Project

  1. Set Up Node.js: Ensure Node.js is installed on your system. If not, download and install it from Node.js website.
  2. Install Node Libraries: Open install.bat
  3. Start Database: Start your MySQL database server.
  4. Create Tables: Run the provided SQL file (database.sql) in the project folder to create all the required tables in your MySQL database.
  5. 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.
  6. 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.

Functionalities

  • 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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published