A boilerplate starter for server-side rendered React applications built with Razzle.
Live Demo: https://starter-react.herokuapp.com
├── public
│ ├── img
│ ├── humans.txt
│ ├── manifest.json
│ ├── robots.txt
│ └── sitemap.xml
├── src
│ ├── api
│ ├── components
│ ├── config
│ ├── pages
│ ├── partials
│ ├── redux
│ ├── styles
│ ├── test
│ ├── App.js
│ ├── client.js
│ ├── index.js
│ └── server.js
├── .env
├── package.json
└── razzle.config.js
- Battle.net - https://develop.battle.net/access/clients
- GitHub
- Google - https://console.cloud.google.com/apis/credentials
- Twitter - https://developer.twitter.com/en/apps
# Get the latest snapshot
$ git clone https://github.com/diogocapela/razzle-starter.git
# Change directory
$ cd razzle-starter
# Install all the dependencies
$ npm i
# Start the development kit
$ npm run dev
# Build for production
$ npm run build
# Start the production server
$ npm run start
# Deletes node_modules and package-lock.json
$ npm run clean
# Run all tests
$ npm run test
# Builds a sitemap to /public/sitemap.xml
$ npm run build-sitemap
# Build project
$ npm run build
# Deploy
$ git push heroku master
Open source under the terms of the MIT License.