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.
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.
# 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