- Node 7.6.0 (for Async/Await support)
Crossed Wires supports the following global node applications:
- Nodemon - for automatic service restart on source updates
- Yarn - NPM drop-in replacement offering superior speed and dependency resolution
Note that the following instructions assume you have Yarn installed. You can substitue the following NPM commands if you don't use Yarn.
- Install dependencies -
yarn
->npm install
- Run script -
yarn <script>
->npm run <script>
Installing and Running application
- Clone repo to a local directory, we'll call it
~/crossed-wires
. - Change into cloned repo directory:
cd ~/crossed-wires
. - Run
yarn
to install server dependencies. - Start server
node src
.
Building API Documentation
Run script yarn generate-docs
Hosting API Documentation
Run script yarn host-docs
Once docs are hosted, you may view them in your web browser at http://localhost:8000/crossed-wires-server/0.0.5/index.html