Skip to content

a webpack and express setup for serving hot or isomorphic react apps

License

Notifications You must be signed in to change notification settings

cloudseven/reapp-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reapp-server

reapp-server provides express and webpack servers that work together to serve a reapp app.

reapp-server takes in options that it uses to build the webpack config. By default it runs in development mode and looks for a /config/config.development.js file to determine options. It includes default configs for development and production though.

See ./webpack/config.*.js for the default config files.

See ./webpack/make.js for how to builds the webpack config.

Options

mode: corresponds to config files, typically 'development' or 'production'
port: port to serve on, webpack server port by default is +1 of this
wport: optional, to specify custom webpack server work
staticPaths: array of strings, relative paths of where to serve static assets
dir: dir of where to serve app
debug: turn on debugging from webpack
hostname: set hostname to serve from, default 'localhost'

TODO

  • Work to be done getting isomorphic working again
  • General organization, tests and code docs throughout

About

a webpack and express setup for serving hot or isomorphic react apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%