[booking-app-bak-end] is an application which allows users to to book/rent vehicles for the stipulated amount of time.
Server
- [Authenicate user]
- [Fetch bookings]
- [Post bookings]
- [Live Demo Link](coming soon)
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Have ruby installed
- Have node installed
- Have rails installed
You can find the React Frontend client at React-client
Clone this repository to your desired folder:
To run and view this application, you will first have to clone a local version of this repository using:
git clone https://github.com/RichardChileya/booking-app-back-end.git
After that navigate to the newly created folder:
cd booking-app
Install this project with:
bundle install
-
To run the project follow the instructions below:
-
You can find the React Frontend client at React-client
-
Configure Environment file in your project by running the following command:
bundle exec figaro install
-
In
config/application.yml
, add the following env keys:DEVISE_SECRET_KEY:
DB_USERNAME:
DB_PASSWORD:
-
Run the command below to generate App Secret for your authentication and add as the DEVISE_SECRET_KEY in your environment:
rake secret
-
Then run the following command to setup the database:
rails db:create, rails db:migrate, rails db:seed
- Start a local server running the command:
rails s
To run tests, run the following command:
bundle exec rspec ./spec/requests
bundle exec rspec ./spec/controllers
You can deploy this project using:
👤 Richard Chileya
- GitHub: @RichardChileya
- Twitter: @RichardChileya
- LinkedIn: Richard Chileya
👤 Tashobya Israel
- GitHub: @tashisrael
- Twitter: @tashisrael
- Linkedin: Tashobya Israel
👤 Recillah Khamala
- GitHub: @Recillah-Khamala
- Twitter: @recillahk
- LinkedIn: recillah-khamala
👤 Muyiwa Fawole
- GitHub: @samlorlah
- Twitter: @samlorlah
- LinkedIn: Oluwamuyiwa Fawoleteh)
- [More booking options]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
we would like to thank:
- Microverse for adding this project in the carriculum
- Murat Korkmaz the creator of the original design.
-
Team of 3 members
This project is MIT licensed.