Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit d88741b

Browse files
authored
📚 document purpose with alternative pointer to CRA+Node repo
1 parent be58f8d commit d88741b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Heroku Buildpack for create-react-app
33

44
Deploy React.js web apps generated with [create-react-app](https://github.com/facebookincubator/create-react-app). Automates deployment with the built-in bundler and serves it up via [Nginx](http://nginx.org/en/). See the [introductory blog post](https://blog.heroku.com/deploying-react-with-zero-configuration) and entry in [Heroku elements](https://elements.heroku.com/buildpacks/mars/create-react-app-buildpack).
55

6+
* 🚦 [Purpose](#purpose)
67
* ⚠️ [Requirements](#requires)
78
* 🚀 [Quick Start](#quick-start)
8-
* [Usage](#usage)
9+
* 🛠 [Usage](#usage)
910
1. [Generate a React app](#generate-a-react-app)
1011
1. [Make it a git repo](#make-it-a-git-repo)
1112
1. [Create the Heroku app](#create-the-heroku-app)
@@ -28,6 +29,13 @@ Deploy React.js web apps generated with [create-react-app](https://github.com/fa
2829

2930
-----
3031

32+
Purpose
33+
-------
34+
35+
**This buildpack deploys a React UI as a static web site.** The [Nginx](http://nginx.org/en/) web server provides optimum performance and security for the runtime.
36+
37+
If your goal is to combine React UI + API (Node, Ruby, Python…) into a *single app*, then this buildpack is not the answer. The easiest combined solution is with Node, see: [using create-react-app with a custom Express server](https://github.com/mars/heroku-cra-node).
38+
3139
Requires
3240
--------
3341

0 commit comments

Comments
 (0)