Simple stat tracking and regurgitation web app built in plain nodejs with mongoose models.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_models
.gitignore
README.md
actions.js
data.js
logging.js
package.json
routes.js
server.js
trackr.js

README.md

Simple stat tracking and regurgitation web app built in plain nodejs with mongoose models.

Installation/Dependencies

sudo apt-get install git node npm mongo # (or equivalent install command for your system)

git clone git@github.com:juancgarcia/trackr.git cd trackr npm install

Configuration

create a db in mongo ex: 'climate'

add a user to this db with RW access, and provide a password ex: username: trackr-user password: fakepass

export an environment variable mongoCreds for your mongo connection details the connection string is of the form:

username:passwort@server:port/dbname

ex: mongoCreds=trackr-user:fakepass@localhost:27017/climate && export mongoCreds

Run server

node trackr