An API for Impact...
First ensure nodejs and npm are correctly installed by running node -v and npm -v. If not follow instructions for your OS here.
Next make sure to clone this repo. If you have git installed you can run git clone https://github.com/ImpactDevelopment/ImpactAPIServer.git. If not you can still download the repo as a zip archive instead.
Finally you want to install the project's dependencies using npm. cd a terminal iside of the repo directory and run npm install.
To start the server run npm start. You should see something like this:
$ npm start
> [email protected] start /path/to/ImpactAPIServer
> node index.js
info: util:logger: ENV LOG_LEVEL = info
info: app:main: initializing
info: app:main: ready. listening on PORT 8080You can now send requests to localhost using the port printed by the server (in the example above that's localhost:8080)
Note: it is important to use npm start instead of node index.js because we use esm
- node-restify-jwt-sample by @supermamon