/fiary

A personal finances diary

Primary LanguageJavaScriptMIT LicenseMIT

fiary logo

fiary

Your personal financial diary

Install Node Version Manager

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash

(help https://github.com/creationix/nvm#installation)

Install Node LTS

nvm install 8

Install project dependencies

yarn

Database configuration

postgres dependencies

sudo apt install libpq-dev cmake xvfb

login under postgres and create new user

sudo -iu postgres and createuser --createdb --pwprompt --superuser fiary

(list users under psql \du)

.env should contain settings:

DB_USER=fiary
DB_PASS=
NODE_ENV=development
JWT_SECRET=

sequelize and db init

yarn db:create
yarn db:migrate

Run dev frontend watcher on localhost:3000

yarn dev:front

Run dev api server on localhost:4000

yarn dev:back

Running Unit Tests

yarn test:front
yarn test:back

(check out package.json to see the list of available commands)

This project was bootstrapped with Create React App.