Skip to content

Instantly share code, notes, and snippets.

@Sstobo
Created January 9, 2018 21:52
Show Gist options
  • Save Sstobo/bf4e8c11db162add60afcfba5424afa4 to your computer and use it in GitHub Desktop.
Save Sstobo/bf4e8c11db162add60afcfba5424afa4 to your computer and use it in GitHub Desktop.
[React Day 1] #react
SSR -> Server Side Rendering
SPA -> Single Page Application
#### SETUP Local Development Server #####
use html boiler plate in ADP
-> npm i -g http-server
-> http-server
-->create-react-app [name of app]
##### BEST PRACTICE ######
OR --> export from stackblitz, npm install or yarn
-->npm start
@Sstobo
Copy link
Author

Sstobo commented Jan 11, 2018

npm i -g json-server
json-server --watch db.json -p 4000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment