This project is about creating API end point using Ruby on Rails and deploying the API on heroku. The API has meetings and reservations endpoints. The API is used in our front end React project which is based on an app to book a meeting to learn or for coding session with your buddy.
- Click here to view the frontend repository.
- Create rails app
- Connect react front end app to rails back end
- Use API end point to get data
- Fetch data from the API
- Click here to view the documentation of the Code Buddy API.
- Click here to view the ER Diagram
-
Click this link to view the Kanban board that was used while building this app.
-
Click here to view the initial state of our Kanban board.
-
At the end of this project, there are two(2) people in the team.
- Ruby on Rails
- Apipie
To get a local copy up and running follow these simple example steps.
-
git clone git@github.com:Donard97/code-buddy-backend.git
-
cd code-buddy-backend
- Run
bundle install
to install all the necessary gems - Run
rake db:create
andrake db:migrate
then runrails s
- Go to the browser and type
localhost:3000
to see the app
-
Run
gem install rspec
to install Rspec, -
Run
rspec spec
to run all the test cases, and -
Run
rspec spec/name_of_test_file.rb
to run test cases individually.
Here you can see that all our test are passing:
- Used Apipie for the API documentation
👤 Donard Golaj
- Github : @Donard97
- Twitter: @donardgolaj
- LinkdIn : @donard-golaj
👤 Ahmad Zia Yousufi
Github : @ahzia
Twitter: @ZiaYousofi
LinkedIn : @ah-ziayosfi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was a source of inspiration.
- Microverse for giving us this chance
- The amazing code reviewers for making us improve every day 👍