- ๐ About the Project
- ๐ Live demo
- ๐ป Getting Started
- ๐ฅ Authors
- ๐ญ Future Features
- ๐ค Contributing
- โญ๏ธ Show your support
- ๐ Acknowledgements
- ๐ License
** 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
- Users can view Cars signup, login and reserve cars.
- Admin can login, add and delete cars.
- Users can view history of cars
- Users can view characteristics of cars (price, electric, brand and much more).
- Users can view which cars are available for rent and which aren't
- Full stack app
- Styling uses CSS
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby installed and running
- PostgreSQL installed
- RubyonRails installed
Clone this repository to your desired folder:
git clone [email protected]: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:
- Delete config/master.key and config/credentials.yml.enc if they exist.
- Run in the terminal:
EDITOR=code rails credentials:edit
- This command will create a new master.key and credentials.yml.enc if they do not exist.
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: [email protected]
password: 123456
user: [email protected]
password: 123456
To run tests, run the following command:
rspec spec/models/ // to test models
rspec spec/requests/api/v1 // to test controllers
- Initial state of Kanban Board
-
- Number of team members at start and finish: 5 Team members.
๐ค Belay Birhanu
- GitHub: @belaymit
๐ค Juan Carlos Sanchez
- GitHub: @Juank628
๐ค Diego Cuenca
- GitHub: @dcuenca
๐ค Paul Saenz
- GitHub: @paulsaenzsucre
๐ค Giovanni Juliao
- GitHub: @gjuliao
- Add price to reservation
- Add plac-id to cars
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?
- Sure, if you want to talk about something specific, feel free to send me a direct message.
- Sure, if you want to talk about something specific, feel free to send me a direct message.
This project is MIT licensed.