The [Car Rental App] is a web-based application that allows users to rent cars for a specified period of time. The application provides an easy and convenient way to rent a car without the hassle of visiting a rental car company.
- Register an account
- Create and delete cars
- Make reservation for your favorite car
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby
- Ruby on Rails
- PostgreSQL
- any code editor
Clone this repository to your desired folder:
To setup the project follow the steps:
-
Clone this project using Git Bash:
git clone git@github.com:myaserkhan/Rentals-Backend.git
-
Inside the project directory, install the project's dependencies
bundle install
-
Create the app's database
rails db:create
-
Setup the app's database
rails db:setup
-
Populate the database
rails db:seed
To run tests, run the following command:
rake rswag
In the project directory, you can run:
-
rails server
Runs the app local server
-
bundle exec rspec
Launches the test runner.
👤 Sajeel Zafar
- GitHub: @Sajeelzafar
- Twitter: @SajeelZafar6
- LinkedIn: Sajeel Zafar
👤 Yasir Khan
- GitHub: @myaserkhan
- Twitter: @khanyaser007
- LinkedIn: Yasir-Khan
- [I'll be adding proper authentication to the project in near future]
- [In future, I would be adding an option to buy the car as well]
- [Coming up I would be working on offering discounts if a user is a frequent customer]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give it a star!
-
Microverse ❤️
-
Credit goes to Murat Korkmaz on Behance whose original design was used.
This project is MIT licensed.