Motorbike Booking is a rails backend application for booking Motorbikes. This application serves as API endpoints for the frontend and users can load, create, and delete Motorbikes, as well as add reservations. Users need to sign up or sign in to access the API endponits. They can sign up or sign in using the API endponts.
We are a group of five
- Major languages (Ruby)
- Framworks (Ruby on Rails)
- Testing library (Rspec)
- API docs (Rswag)
[In progress]
To get a local copy up and running follow these simple example steps.
- A text editor(preferably Visual Studio Code)
- Ruby
- Ruby on Rails
- PostgresSQL
- Clone the project
git clone https://github.com/RWUBAKWANAYO/motorbike_booking_backend
cd motorbike_booking_backend
Add your username & password in database.yml
file:
username: <your_username>
password: <your_password>
Specify your ruby version if different from mine
ruby 'Your_ruby_version'
Install gems with:
bundle install
Setup database with:
rails db:create
rails db:migrate
rails db:seed
Start server with:
rails server -p 3000
Visit http://localhost:3000/ in your browser.
Install npm with:
npm install
Install rspec with:
bundle install
and
rails generate rspec:install
run the test with:
rspec spec
rails rswag:specs:swaggerize
Visit http://localhost:3000/api-docs in your browser.
👤 Olivier
- GitHub: @Rwubakwanayo
- Twitter: @Rwubakwanayo
- LinkedIn: Rwubakwanayo Oliver
👤 Pedro
👤 Joseph
- GitHub: @Kwentsir
- Twitter: @jkwentsir
- LinkedIn: @Joseph Kwentsir
👤 Ghilain
- GitHub: @Ghilain Ishimwe
- Twitter: @GhilainIshime
- LinkedIn: @Ghilain Ishimwe
👤 Emmanuel
- GitHub: @Epaltechs
- Twitter: Emmanuel Paul
- LinkedIn: Emmanuel Paul
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- We acknowledge with appreciation the original design provided by Murat Korkmaz on Behance.
- Inspiration: Microverse
This project is MIT licensed.