- Notifications
You must be signed in to change notification settings - Fork2
Server side rendered single page app using reactjs official libraries.
License
michaelBenin/react-ssr-spa
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
react-ssr-spa is a react app that is server side rendered and is a single page app.
Should you use this as a starting point for your application? A good way to know is if you answered yes to any of the following questions.
Do we need SEO?
Do we need fast page loads without a loading spinner?
Do we need a fast app like website?
Requirements:
node.js v8.9.1npm v5.5.1
git clone git@github.com:michaelBenin/react-ssr-spa.gitcd react-ssr-spanpm inpm startOpen browser http://localhost:8001/
(Optional) Create an .env file at the root of the directory. See .env.example in root.
npm start
Optimized for use with:
npm run server-unit-test
npm run server-integration-test
npm run client-unit-testnpm run client-unit-test-watch
npm run client-integration-testnpm run client-integration-test-watch
npm run acceptance-test
npm run js-lintnpm run js-lint-fix
npm run style-lintnpm run style-lint-fix
npm run fix-all
npm run js-doc
npm run style-doc
npm run docs
npm run complexity-report
npm run build-prod
npm run build-prodNODE_ENV=test node dist/server
npm run build-prod
Update package.json with the appropriate js and map files.
npm run analyzie-bundle
If PM2 is not installed:
npm i pm2 -g
To run server in production mode:
npm run prod-server
npm run create-upload-artifact
npm run upload-static-files
ansible-playbook -u ubuntu ./ansible/deploy/deploy.yml
ansible-playbook -u ubuntu ./ansible/deploy/deploy.yml
ansible-playbook -u ubuntu ./ansible/rollback/rollback.yml
https://github.com/facebook/react
https://github.com/reactjs/react-router
https://github.com/reactjs/redux
https://github.com/reactjs/react-redux
https://github.com/reactjs/react-router-redux
https://github.com/gaearon/redux-thunk
https://github.com/nfl/react-helmet
https://github.com/expressjs/express
https://github.com/rendrjs/rendr
About
Server side rendered single page app using reactjs official libraries.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.