This website is built with React and Webpack
yarn installThis application is config via environment parameter
| Name | Usage | Default Value | Validate Value |
|---|---|---|---|
| NODE_ENV | Mode of application | 'dev' |
'production' or 'dev' |
| PORT | Port Number of server | 3000 |
Any integer |
| ENDPOINT | Web API endpoint | 'https://api.g0vhk.io' | Any string |
You have to run yarn dev:setup for the very first time you start the development server
yarn devA server will be start running at http://localhost:3000. Hot reloading would be enable in server.
The server is running with nodemon, you may refer to the document of nodemon
yarn build
export NODE_ENV=production
yarn startA production server will be started at http://localhost:3000