0.2.0 • Published 8 years ago
mystash v0.2.0
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.localfilling 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 installin the project's folder to install dependencies - Run
npm startto 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
jestis installed globally (with(sudo) npm install jest -g):jest __tests__/myfile.js - If
jestis not installed globally:./node_modules/.bin/jest __tests__/myfile.js
- If
0.2.0
8 years ago