Skip to content

nirvanabaid/Car-Rental-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer-to-Peer Car Rental Application

This repository contains the code for a user-friendly cross-platform application developed using Flutter. The application aims to provide a peer-to-peer car rental service, offering convenience and eliminating the need for traditional rental services. It allows users to easily rent cars from individuals within their community.

Backend Repo:

https://github.com/nirvanabaid/Car-Rental-Backend

Features

  • Cross-platform application developed using Flutter, ensuring compatibility with both iOS and Android devices.
  • Robust backend system implemented with Node.js, creating an efficient API layer for various functionalities, including user authentication, car management, reservations, and secure payments.
  • MySQL used for structured data storage and retrieval, ensuring effective organization of user profiles, car details, reservations, and transactions.
  • In progress: Web frontend development using HBS templating engine to expand the project's reach and usability beyond mobile devices.
  • Setup Instructions

    To set up the development environment and run the project locally, follow these steps:

    Clone this repository to your local machine.

    bash
    git clone https://github.com/sandeepkrai/Car-Rental-Frontend/

    Install the necessary dependencies for the Flutter application. Refer to the official Flutter documentation for instructions on how to set up Flutter and its dependencies: Flutter Documentation

    Install the required Node.js packages for the backend system. Navigate to the backend directory and run the following command:

    npm install

    Set up the MySQL database by importing the provided SQL dump file. Ensure you have MySQL installed and create a new database. Then, import the SQL dump file using the following command:

    css
    mysql -u username -p database_name < database_dump.sql

    Configure the backend API connection to the MySQL database. Open the backend/config.js file and update the MySQL connection details accordingly.

    Run the backend server. In the backend directory, execute the following command:

    sql
    npm start

    Run the Flutter application using your preferred IDE or by executing the following command in the root directory of the Flutter project:

    flutter run

    Contributions

    Contributions to this project are welcome. If you find any bugs or have suggestions for improvement, please feel free to open an issue or submit a pull request.

    License

    This project is licensed under the MIT License. Feel free to use and modify the code according to your needs.

    Car-Rental-Frontend

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published