0.2.0 • Published 6 years ago

mystash v0.2.0

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
6 years ago

myStash

Build Status Greenkeeper badge codecov

Personal finance app

Requirements

  • NodeJS v. 7.6.0 (or higher)
  • MongoDB

Installation Steps

  • Make sure that NodeJS v.7.6.0 (or higher) is installed
  • Clone (or download) the repository locally.
  • Optionally, create a new file called .env.local filling in the necessary information for your local machine (e.g. the local connection to MongoDB), only for the fields you need to overwrite from the default .env
  • Run npm install in the project's folder to install dependencies
  • Run npm start to start the server
  • Visit the project in your browser (usually the address will be http://localhost:3000 if you have configured NodeJS otherwise)

Running tests

  • To run all the tests, run npm test
  • To run a specific test:
    • If jest is installed globally (with (sudo) npm install jest -g): jest __tests__/myfile.js
    • If jest is not installed globally: ./node_modules/.bin/jest __tests__/myfile.js