Skip to content

Commit a527fdb

Browse files
committed
Add api documentation
1 parent 88814f0 commit a527fdb

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ group :development do
5656
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
5757
gem 'spring'
5858
gem 'spring-watcher-listen', '~> 2.0.0'
59+
gem 'rspec_api_documentation'
5960
end
6061

6162
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem

Gemfile.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ GEM
104104
mini_portile2 (2.4.0)
105105
minitest (5.14.2)
106106
msgpack (1.3.3)
107+
mustache (1.1.1)
107108
nio4r (2.5.2)
108109
nokogiri (1.10.10)
109110
mini_portile2 (~> 2.4.0)
@@ -149,6 +150,10 @@ GEM
149150
ffi (~> 1.0)
150151
regexp_parser (1.7.1)
151152
rexml (3.2.4)
153+
rspec (3.9.0)
154+
rspec-core (~> 3.9.0)
155+
rspec-expectations (~> 3.9.0)
156+
rspec-mocks (~> 3.9.0)
152157
rspec-core (3.9.2)
153158
rspec-support (~> 3.9.3)
154159
rspec-expectations (3.9.2)
@@ -166,6 +171,10 @@ GEM
166171
rspec-mocks (~> 3.9)
167172
rspec-support (~> 3.9)
168173
rspec-support (3.9.3)
174+
rspec_api_documentation (6.1.0)
175+
activesupport (>= 3.0.0)
176+
mustache (~> 1.0, >= 0.99.4)
177+
rspec (~> 3.0)
169178
rubocop (0.90.0)
170179
parallel (~> 1.10)
171180
parser (>= 2.7.1.1)
@@ -219,6 +228,7 @@ DEPENDENCIES
219228
puma (~> 4.1)
220229
rails (~> 6.0.3, >= 6.0.3.2)
221230
rspec-rails
231+
rspec_api_documentation
222232
rubocop
223233
shoulda-matchers
224234
spring

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<h3 align="center">Health App API</h3>
1212

1313
<p align="center">
14-
A web App created in the fulfillment of Microverse mandatory Ruby on Rails capstone project.
14+
A simple health api app.
1515
<br />
1616
<a href="https://github.com/Cyrus-Kiprop/rails-react-health-app/issues">Report Bug</a>
1717
·
@@ -45,7 +45,7 @@ A progressive Health Tracking mobile web app. User can utilize the apps' exposed
4545

4646
## Api Documentation
4747

48-
Click [ here ](https://afritrend.herokuapp.com/users/sign_in) for a live demo of the app.
48+
Click [ here ](https://web.postman.co/collections/8007314-882ee6da-afb0-49db-9eaa-4e9c94059972?version=latest&workspace=ab4298f5-d0f8-4bf1-8dc4-baa6db7fbe13) for api documentation.
4949

5050
### Built With
5151

@@ -76,7 +76,7 @@ To get a local copy up and running follow these simple example steps.
7676

7777
- Ruby -v 2.7.1 -[click here](https://www.ruby-lang.org/en/)
7878

79-
- Rails -v 5.2.4
79+
- Rails -v 5.2.4+
8080

8181
```sh
8282
gem install rails -v 5.2.4
@@ -216,4 +216,3 @@ Distributed under the MIT License. See [ LICENSE ](https://github.com/Cyrus-Kipr
216216
[stars-url]: https://github.com/Cyrus-Kiprop/rails-react-health-app/stargazers
217217
[issues-shield]: https://img.shields.io/github/issues/Cyrus-Kiprop/rails-react-health-app.svg?style=flat-square
218218
[issues-url]: https://github.com/Cyrus-Kiprop/rails-react-health-app/issues
219-
[product-screenshot]: /app/assets/images/screenshot.png

images/microverse-logo.jpg

16.7 KB
Loading

0 commit comments

Comments
 (0)