Skip to content

Latest commit

 

History

History

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

beaver-logger demo

Allows you to test your client-side and server-side changes.

Dependency

This setup requires spinning up a local server to host the node application. I use http-server. npm i http-server -g.

Setup

  1. Install node packages required for the demo in the /demofolder. npm i --prefix ./demo.
  2. Create the published files you will need to run the express application to test server-side changes. npm run babel-server-test
  3. create the client-side files you will need to test client-side changes. npm run webpack
  4. Start the express application with node demo/app.js.
  5. Start the server from the repo root directory, http-server ./. Navigate to /demo/index.htm.