Skip to content

ohs30359-nobuhara/react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-starter

Description

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

Usage

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