- Car Rental is a car rental application that used React for Front-End and Ruby on Rails for Back-End.
- Car Rental Backend is Backend REST API for a car rental application. It is written in Ruby on Rails and uses JWT for authentication. The API provides endpoints for creating, updating, and deleting cars, as well as for reserving and returning cars. It also provides an endpoint for getting the current status of a car.
Back-End
Database
Test
- Create, update, and delete cars
- Reserve and return cars
- Get the current status of a car
- Authentication with JWT
To get a local copy running the follow these steps.
In order to run this project you need
VS code editor
Web browser(chrome Firefox Opera etc)
gem install rails
Clone this repository to your desired folder:
git clone https://github.com/AbigiyaTY/carRental-Backend.git
In the terminal, go to your file directory and run this command.
1. git clone https://github.com/AbigiyaTY/carRental-Backend.git
2. cd carRental-Backend
3. code .
gem install bundler
1. bundler install
2. rails db:create db:migrate
To run the project, execute the following command:
rails server
To install rspec, in the terminal kindly run this command
$ gem install rspec
To run tests, please run this command
For specific file
$ rspec ./spec/#{filename}.rb
For the whole file
$ rspec
Abigiya Tadesse
- GitHub: @AbigiyaTY
- Twitter: @AbigiyaTY
- LinkedIn: @AbigiyaTY
- Improve security
- Delploy the app
- Add testes
- Write documentation
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project give it ⭐️.
This project is MIT licensed.