Skip to content

This project is based on an app to book an appointment to try a dream car. App users are able to reserve their dream cars, as well as view the reservations. New cars can also be added and deleted from the app. Postgres database was used, and rails used for the backend.

License

Notifications You must be signed in to change notification settings

demix007/car-rentals-backend

Repository files navigation

Car Rentals Backend

📗 Table of Contents

📖 Car Rentals Backend

Car Rentals Backend is a Rails API that serves as database to the Car Rentals Frontend project.

🛠 Built With

Tech Stack

Server
Database

Key Features

  • Create database
  • Authenticate user using devise gem
  • Generate Authentication Token using jwt-gem

(back to top)

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  ruby 3.2.1
  rails

Setup

Clone this repository to your desired folder:

Example commands:

  cd your-folder
  git clone https://github.com/demix007/car-rentals-backend.git

Install

Install this project with:

Example command:

  cd my-project
  bundle install

Setup database

Setup database with:

Example command:

  rails db:create
  rails db:migrate

Usage

To run the project, execute the following command:

Example command:

  rails server

Run tests

To run tests, run the following command:

Example command:

  rspec

(back to top)

👥 Authors

👤 Ayodeji Abidemi

  • GitHub: demix007
  • Twitter: dat_dope_demix
  • LinkedIn: ayodeji-abidemi

👤 Mohamed Hassan Noor

  • GitHub: MohamedHNoor
  • Twitter: MohamedHNoor
  • LinkedIn: MohamedHNoor

👤 Houda Mzari

  • GitHub: houdamzari
  • LinkedIn: houdamzari

👤 Kashif

  • GitHub:Kashif
  • Twitter:Kashif
  • LinkedIn:Kashif

(back to top)

🔭 Future Features

  • Add authorization
  • Add advance tests to all functionality
  • Enhance cyber security for the database

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project please give it a ⭐️. Your support is greatly appreciated!

(back to top)

🙏 Acknowledgments

We would like to thank Microverse for giving us this chance to learn how to build a Rails API and connect it to a React frontend.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

This project is based on an app to book an appointment to try a dream car. App users are able to reserve their dream cars, as well as view the reservations. New cars can also be added and deleted from the app. Postgres database was used, and rails used for the backend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published