A simple base for starting React
This template provides the following functions
- express server
- configration file
- logging
- lint
- precommit
- test with mocha
Of course, hotreload is also supported
develop mode
$ npm run dev
default operates with the following settings
target | host |
---|---|
client | localhost:3000 |
server | localhost:8080 |
production mode
$ npm run start
compile the client code and route it on the server.
therefore, only the server will be in operation
test
$ npm run test
lint
$ npm run lint