RENT CARS - Back End Is a Ruby Back-End project for users to rent cars, and Admins to create and delete cars. Users will have the chance to view the history of cars reserved.
** The app front end can be found here
To get a local copy up and running, follow these steps.
In order to run this project you need:
Clone this repository to your desired folder:
git clone git@github.com:dgcuenca/car_app_backend.git
and then move to the folder:
cd car_app_backend
Install dependancies with:
bundle install
In order to run the project please follow the next steps to create your credentials|masterkey pair:
EDITOR=code rails credentials:edit
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
bundle exec rails start
then go to http://localhost:300
Users to log in into the app:
admin: admin@admin.com
password: 123456
user: diego@gmail.com
password: 123456
To run tests, run the following command:
rspec spec/models/ // to test models
rspec spec/requests/api/v1 // to test controllers
π€ Belay Birhanu
π€ Juan Carlos Sanchez
π€ Diego Cuenca
π€ Paul Saenz
π€ Giovanni Juliao
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project please give it a star.
Can I use this project for personal use?
This project is MIT licensed.