Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.
/ ausgaben-node Public archive

ausgaben is a personal finance tracker written in Node.js

Notifications You must be signed in to change notification settings

ausgaben/ausgaben-node

Repository files navigation

Ausgaben

Build Status Codacy Badge Code Climate Dependency Status Codacy Badge

Set up

# Install dependencies
npm install
# Create database
sudo su postgres
createdb ausgaben
psql
CREATE USER ausgaben;
ALTER ROLE ausgaben WITH PASSWORD 'password';
CREATE DATABASE ausgaben;
GRANT ALL PRIVILEGES ON DATABASE ausgaben TO ausgaben;
# Init database
node server/console.js sequelize:schema:sync
# To reset the database
sudo -u postgres /bin/bash -c 'dropdb ausgaben; createdb ausgaben' && node server/console.js sequelize:schema:sync

Run tests

npm test

Run the app

make
npm run dev-server

E-Mail sending

Emails are sent via node-templater-mailer-microservice. To setup up the service, run

node server/console.js config:templatemailer