An API backend for managing vehicle reservations, built with Ruby on Rails.
-
Clone the repository:
git clone [email protected]:bhushan354/Reservation-App-Backend.git cd Reservation-App-Backend
-
Update database configuration:
- Edit
config/database.yml
with your local PostgreSQL credentials.
- Edit
-
Ensure Ruby version compatibility:
- Match the Ruby version in your system with the one in the
Gemfile
.
- Match the Ruby version in your system with the one in the
-
Install dependencies and set up the database:
bundle install rails db:drop rails db:create rails db:migrate rails db:seed
-
Start the Rails server:
rails server
-
Access API documentation:
- Open your browser and go to:
http://127.0.0.1:3000/api-docs/index.html
- Open your browser and go to: