Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

ImpactDevelopment/ImpactAPIServerLegacy

Repository files navigation

Impact API Server

An API for Impact...

Installing

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.

Running

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  8080

You 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

Credits

About

A small nodejs server to run the Impact API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •