https://github.com/hannasdev/server-side-react
Learning project for server-side rendering with Node and React
https://github.com/hannasdev/server-side-react
Last synced: 8 months ago
JSON representation
Learning project for server-side rendering with Node and React
- Host: GitHub
- URL: https://github.com/hannasdev/server-side-react
- Owner: hannasdev
- Created: 2018-02-10T14:43:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T16:55:55.000Z (over 8 years ago)
- Last Synced: 2024-03-27T20:21:29.557Z (over 2 years ago)
- Language: JavaScript
- Size: 568 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server-Side React
Version 1.0
This project is a part of an attempt to learn building server-side rendered applications.
I wanted to learn this to build small-scale applications for personal use, since my daily routine mainly contains large-scale applications.
Note! Server-side rendering (with React) is slow and not intended for large-scale applications.
## Run
1. Install dependencies: `npm i`
2. Run: `npm run dev`
## Architecture
The architecture contains two separate applications working together. One for server-side and one for the client. Both are using JSX and therefore needs babel transpile before being readable by node. Hence both builds rely on Webpack.
### Data Source _(not this repo)_
- Serves data per request from Renderer Server.
### Renderer Server _(this repo)_
- Produces HTML from data fetched from the Data Source.
### Client _(this repo)_
- ...not sure yet
## Author
Hanna Söderström (with a lot of content based on the course "Server-side rendering with React" by Stephen Greider, from udemy.com)