Skip to content

Commit

Permalink
Update hosting section header
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Jun 21, 2017
1 parent 9398398 commit 6f9ea5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If your company is exploring a modern JavaScript stack as well, you may find thi
- [Types](#types---flow)
- [Build System](#build-system---webpack)
- [Package Management](#package-management---yarn)
- [Hosting](#hosting)
- [Hosting](#hosting---amazon-s3)

Certain topics can be skipped if you have prior experience in them.

Expand Down Expand Up @@ -361,7 +361,7 @@ [email protected] was [released in May 2017](https://github.com/npm/npm/releases/tag/v5.

- [Good old npm](https://github.com/npm/npm/releases/tag/v5.0.0)

### Hosting
### Hosting - Amazon S3

Traditionally, web servers that receive a request for a webpage will render the contents on the server, and return a HTML page with dynamic content meant for the requester. This is known as server-side rendering. As mentioned earlier in the section on Single-page Apps, modern web applications do not involve server-side rendering, and it is sufficient to use a web server that serves static asset files. Nginx and Apache are possible options and not much configuration is required to get things up and runnning. The caveat is that the web server will have to be configured to route all requests to a single entry point and allow client-side routing to take over. The flow for front end routing goes like this:

Expand Down

0 comments on commit 6f9ea5e

Please sign in to comment.