ajsutton / moolah-server

Back-end server for Moolah money tracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moolah Server

Back-end server for Moolah money tracker

This project provides a st of APIs that clients can use. A web based UI is under development as a separate project.

Configuration

Moolah requires a MySQL database for storage and a Google OAuth 2.0 client ID for authentication. These are configured in config/config.json An example config file showing the syntax is provided in config/config.example.json.

The database schema will need to exist, then run yarn run migrate-db to install or update the required tables.

See the Google documentation to create an OAuth 2.0 client ID.

Build Setup

# install dependencies
yarn

# Configure/update database
yarn run migrate-db

# serve with hot reload at localhost:3000
yarn run dev

# serve in production mode
yarn start

# run unit tests
yarn run test

# continuously run tests
yarn run test-watch

About

Back-end server for Moolah money tracker

License:Apache License 2.0


Languages

Language:JavaScript 99.9%Language:Shell 0.1%