Skip to content

trxcllnt/rx-node-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rx-node-template

###Setup

  1. git clone https://github.com/trxcllnt/rx-node-template.git
  2. npm install
  3. node server
  4. http://localhost:5000

###Command-line options

  • node server --env dev starts a server that recompiles the client source on each request to the root (http://localhost:5000)
  • node server --env prod starts a server that only serves the built JS, doesn't recompile on each request.
  • node build --env prod builds the client source for production.
  • node build --env dev builds the client source with source-maps for debugging.

###Application modules Declare your app's modules in the package.json file as name: src key-value pairs. Later, instead of doing require('../..i/hate/relative/paths/to/my_module'), you can do require('my_module') instead.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published