Skip to content

Boilerplate starter for server-side rendered React applications built with Razzle.

License

Notifications You must be signed in to change notification settings

diogocapela/razzle-starter

Repository files navigation

razzle-starter

Build Status Dependencies Status Dev Dependencies Status

A boilerplate starter for server-side rendered React applications built with Razzle.

Live Demo: https://starter-react.herokuapp.com

Project Structure

├── 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

OAuth Providers

Setup

# 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

Clean

# Deletes node_modules and package-lock.json
$ npm run clean

Test

# Run all tests
$ npm run test

Build Sitemap

# Builds a sitemap to /public/sitemap.xml
$ npm run build-sitemap

Deploy

# Build project
$ npm run build

# Deploy
$ git push heroku master

Utilities

License

Open source under the terms of the MIT License.

About

Boilerplate starter for server-side rendered React applications built with Razzle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published