This project is an api built with Ruby on Rails as the second half of the final capstone project in the Microverse program.
It is built to serve as the back-end of the capstone project by storing, managing and serving data to the front-end project, which project can be found at this Github repository
The project implements a REST API to manage database resources which include User, Massage Types, and Appointments data.
- Ruby 3.0.1
- Ruby on Rails 6.1.3.2
- Postgresql 12.7
- Rspec
- Ruby (This project was tested on version
3.0.1
) - Rails (This project was tested on version
6.1.3.2
) - Bundler (This project was tested with Bundler version
2.2.15
) - Postgresql (This project was built with version
12.7
)
- Clone the repository to your local machine using
git clone it@github.com:RNtaate/Bookings-Backend.git
- On your local machine, navigate to the Literature-Tracker folder using
cd Bookings-Backend
in your terminal - Install all the gems for the project by running
bundle
in your terminal - Create database using the following command
rails db:create
- Migrate the database using the following command
rails db:migrate
- Start the server by using the following command.
rails s
- Start running the front-end application to send and receive data from the api on your local server.
- Run
bundle exec rspec
There are two ways of contributing to this project:
-
If you see something wrong or not working, please check the issue tracker section, if that problem you met is not in already opened issues then open the issue by clicking on
new issue
button. -
If you have a solution to that, and you are willing to work on it, follow the below steps to contribute:
- Fork this repository
- Clone it on your local computer by running
git clone git@github.com:RNtaate/Bookings-Backend.git
Replace RNtaate with the username you use on github - Open the cloned repository which appears as a folder on your local computer with your favorite code editor
- Create a separate branch off the master branch,
- Write your codes which fix the issue you found
- Commit and push the branch you created
- Raise a pull request, comparing your new created branch with our default branch here
👤 Roy Ntaate
- Github: @RNtaate
- Twitter: @RNtaate
- Linkedin: roy-ntaate
Give a ⭐️ if you like this project!