You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,6 @@ Let's begin!
40
40
41
41
3. Run `npm start` and type Y in case there are some conflicting port configs in your local host. You should see the bottom image in your browser if everything was installed correctly!
42
42
43
-
<ahref="http://tinypic.com?ref=2gwysso"target="_blank"><imgsrc="http://i68.tinypic.com/2gwysso.png"border="0"alt="Image and video hosting by TinyPic"></a>
44
43
45
44
## Rails API 💎
46
45
@@ -87,8 +86,6 @@ Versioning is the process of seperating and creating new features/data/endpoints
If everything looks right you should see your directory identical as below. <br><br>
91
-
<ahref="http://tinypic.com?ref=3589c11"target="_blank"><imgsrc="http://i67.tinypic.com/3589c11.png"height="280"width="280"border="0"alt="Image and video hosting by TinyPic"></a>
92
89
93
90
Now that our versioning is complete, let's test out a model and controller to work with our new url of `localhost:3000/api/v1`.
94
91
@@ -175,8 +172,7 @@ Seed the DB using `rails db:seed && rails db:migrate`
175
172
176
173
Start your Rails server `rails s` and navigate to `localhost:3000/api/v1/movies` and if it is successful you should see the following JSON output: <br><br>
177
174
178
-
(Optional) I'm using a pretty JSON viewer for chrome which you can download [here.](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc)
179
-
<ahref="http://tinypic.com?ref=2m60ahx"target="_blank"><imgsrc="http://i63.tinypic.com/2m60ahx.png"width="450"height="450"border="0"alt="Image and video hosting by TinyPic"></a>
175
+
(Optional) I'm using a pretty JSON viewer for chrome which you can download [here.]
180
176
181
177
Congrats! You have successfully created a Rails API and completed your first GET request!
182
178
@@ -189,9 +185,6 @@ React is a component based front end framework that makes it easy to make fronte
189
185
```
190
186
create-react-app client
191
187
```
192
-
193
-
<br>
194
-
<ahref="http://tinypic.com?ref=1zya22t"target="_blank"><imgsrc="http://i64.tinypic.com/358xiu0.png"border="0"height="300"width="280"alt="Image and video hosting by TinyPic"></a>
0 commit comments