dink-interface

2.1.0 • Public • Published

Dink Dink Web Interface

Build Process:

  1. npm install to install project dependencies
  2. npm install webpack -g if you don't have webpack available as a global module
  3. NODE_ENV=production webpack to transpile and bundle application assets. Webpack uses the node env flag to switch between app entry points. This prevents regular builds from attempting to open a websocket with a dev server.

React Hot Loading && REST API Server

  1. nodemon server/index.js to start the development server. Default port is 9090. Port can be changed with PORT env variable.
  2. node server/dev-server.js to start the webpack dev server with react hot loader.

Readme

Keywords

none

Package Sidebar

Install

npm i dink-interface

Weekly Downloads

4

Version

2.1.0

License

ISC

Last publish

Collaborators

  • dhedgecock