mystash
v0.2.0
Published
Personal finance app
Downloads
10
Readme
myStash
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
- If