Skip to content

Golf reservations backend is rails backend application for Golf book reservations. This applications take works for API endpoints and users can load, create, and delete courses and reservations. Users need to sign up or sign in to access the API endpoints. They can sign up or sign in using the API endpoints.

omarsalem7/capstone-back-end

Repository files navigation

Book A Golf Course Backend

Book A Golf Course backend is rails backend application for booking golf courses. This applications works with API endpoints and users can load, create, and delete Coursess and 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.

Front End Repo

Book Appointments Frontend

Kanban Board

Kanban Board

Initial state Of Kanban Board

Initial Kanban Board

We are a group of five

  1. Team 1 - Butler
  2. Team 2 - Stephan
  3. Team 3 - Josphat
  4. Team 4 - Omar
  5. Team 5 - Benjamin

Built With

  • Major languages (Ruby)
  • Framworks (Ruby on Rails)
  • Testing library (Rspec)
  • API docs (Rswag)

Live version

[In progress]

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • A text editor(preferably Visual Studio Code)

Install

  • Ruby
  • Ruby on Rails
  • PostgresSQL

Using it Locally

  • Clone the project
git clone https://github.com/omarsalem7/capstone-back-end
cd capstone-back-end

Setup

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

Usage

Start server with:

rails server -p 3001

Visit http://localhost:3001/ in your browser.

Run tests

Install npm with:

npm install

Install rspec with:

bundle install

and

rails generate rspec:install

run the test with:

rspec spec

Open API documentation

rails rswag:specs:swaggerize

Visit http://localhost:3001/api-docs in your browser.

Visit And Open Files

Visit Repo

Authors

👤 Omar Salem

👤 Stephan

👤 Josphat Nkonde

👤 Benjmain Semah

👤 Butler shimalwani

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Inspiration: Microverse

📝 License

This project is MIT licensed.

About

Golf reservations backend is rails backend application for Golf book reservations. This applications take works for API endpoints and users can load, create, and delete courses and reservations. Users need to sign up or sign in to access the API endpoints. They can sign up or sign in using the API endpoints.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published