This app assumes a connection to postgres exists in development server.
-
Change initDb in config.json to the database that already exists in your Postgres (e.g. 'postgres' in Windows, and your user name in Linux)
-
If you use windows, in package.json change npm/test to:
jasmine&jasmine-node server_spec
-
If you do not have jasmine or jasmine-node, install them globally:
npm install -g jasmine npm install -g jasmine-node
-
run npm install:
npm install
-
at this point you should be able to run the project: npm start
-
then you should be able to run tests: npm test