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.
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/omarsalem7/capstone-back-end
cd capstone-back-end
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 3001
Visit http://localhost:3001/ 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:3001/api-docs in your browser.
👤 Omar Salem
- GitHub: Omar Salem
- Twitter: Omar Salem
- LinkedIn: Omar Salem
👤 Stephan
- GitHub: @stephan
- Twitter: @Stephan
- LinkedIn: Stephan Annandale
👤 Josphat Nkonde
- GitHub: @zairdon20
- Twitter: @josphat1 nkonde
- LinkedIn: @josphat nkonde
👤 Benjmain Semah
- GitHub: @BenjaminSemah
- Twitter: @BenjaminSemah
- LinkedIn: @BenjaminSemah
👤 Butler shimalwani
- GitHub: @Butlermuwo
- Twitter: @Butlermuwo
- LinkedIn: @Butlermuwo
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Inspiration: Microverse
This project is MIT licensed.