Skip to content

max-degterev/expressjs-boilerplate

Repository files navigation

ExpressJS Boilerplate

ExpressJS boilerplate with SSR React SPA frontend. Includes Babel, Redux and React Router.

Usage:

  1. Install NodeJS:

It is recommended to install NodeJS with a native installer via NodeJS.org website.

If you prefer using Homebrew (brew install node), it will break your NPM installation. Here's a fix.

  1. Install dependencies:

npm install

  1. Start server:

npm start

and navigate your browser to http://localhost:3000/

  1. ???

  2. PROFIT

Production mode:

npm run production

Supported environment variables:

NODE_ENV(string): environment to use, like 'production'
PORT(int): port to bind to
SANDBOX(bool): run in sandboxed mode - useful for running fake production environment

Read through source for more information.

License

MIT © Max Degterev

About

ExpressJS boilerplate with React SPA frontend

Resources

License

Stars

Watchers

Forks

Packages

No packages published