Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3bb31cc

Browse filesBrowse files
alexdriaguinegaearon
authored andcommitted
Added links to tutorials for integrating cra with an api backend (facebook#1437)
* Added Rails link to User Guide * docs: unify sections for rails and node backend integration * docs: fix faulty link and indentation
1 parent 65bde54 commit 3bb31cc
Copy full SHA for 3bb31cc

File tree

Expand file treeCollapse file tree

2 files changed

+16
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-4
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
116116
- [Adding Flow](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-flow)
117117
- [Adding Custom Environment Variables](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-custom-environment-variables)
118118
- [Can I Use Decorators?](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#can-i-use-decorators)
119-
- [Integrating with a Node Backend](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#integrating-with-a-node-backend)
119+
- [Integrating with an API Backend](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#integrating-with-an-api-backend)
120120
- [Proxying API Requests in Development](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#proxying-api-requests-in-development)
121121
- [Using HTTPS in Development](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-https-in-development)
122122
- [Generating Dynamic `<meta>` Tags on the Server](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#generating-dynamic-meta-tags-on-the-server)

‎packages/react-scripts/template/README.md

Copy file name to clipboardExpand all lines: packages/react-scripts/template/README.md
+15-3Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ You can find the most recent version of this guide [here](https://github.com/fac
3030
- [Adding Flow](#adding-flow)
3131
- [Adding Custom Environment Variables](#adding-custom-environment-variables)
3232
- [Can I Use Decorators?](#can-i-use-decorators)
33-
- [Integrating with a Node Backend](#integrating-with-a-node-backend)
33+
- [Integrating with an API Backend](#integrating-with-an-api-backend)
34+
- [Node](#node)
35+
- [Ruby on Rails](#ruby-on-rails)
3436
- [Proxying API Requests in Development](#proxying-api-requests-in-development)
3537
- [Using HTTPS in Development](#using-https-in-development)
3638
- [Generating Dynamic `<meta>` Tags on the Server](#generating-dynamic-meta-tags-on-the-server)
@@ -603,9 +605,19 @@ Please refer to these two threads for reference:
603605

604606
Create React App will add decorator support when the specification advances to a stable stage.
605607

606-
## Integrating with a Node Backend
608+
## Integrating with an API Backend
607609

608-
Check out [this tutorial](https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/) for instructions on integrating an app with a Node backend running on another port, and using `fetch()` to access it. You can find the companion GitHub repository [here](https://github.com/fullstackreact/food-lookup-demo).
610+
These tutorials will help you to integrate your app with an API backend running on another port,
611+
using `fetch()` to access it.
612+
613+
### Node
614+
Check out [this tutorial](https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/).
615+
You can find the companion GitHub repository [here](https://github.com/fullstackreact/food-lookup-demo).
616+
617+
### Ruby on Rails
618+
619+
Check out [this tutorial](https://www.fullstackreact.com/articles/how-to-get-create-react-app-to-work-with-your-rails-api/).
620+
You can find the companion GitHub repository [here](https://github.com/fullstackreact/food-lookup-demo-rails).
609621

610622
## Proxying API Requests in Development
611623

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.