Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 952 Bytes

README.md

File metadata and controls

39 lines (22 loc) · 952 Bytes

Magic 8-Ball 🎱

A magic 8-ball emulator web app.


Dependencies

  1. Nodemon - automatically restarts the server after code changes & errors
  2. Mocha - unit testing
  3. Chai - a BDD / TDD assertion library for unit testing

The production app requires zero dependencies, except for Node.js to be installed on the target system (version 12.16.2 preferred).

Setup

  1. Clone the app from the repo
  2. Run npm install to install dependencies
  3. Run one of the scripts listed below to start the app

Scripts

npm run dev

Spins up the server and watches for changes to server-side code.

Port is set to 21337.

npm run start

Kicks off the Node server for a production environment.

npm run test

Run the included unit tests for the "history" API.


author: Justin Yarbrough