https://github.com/ka8725/monmon
A personal Financial Manager: Reserve Fund, Money, Investment, Assets, Financial Plan
https://github.com/ka8725/monmon
api back-end finances money money-manager ruby
Last synced: 5 months ago
JSON representation
A personal Financial Manager: Reserve Fund, Money, Investment, Assets, Financial Plan
- Host: GitHub
- URL: https://github.com/ka8725/monmon
- Owner: ka8725
- Created: 2020-02-02T20:24:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T07:34:28.000Z (over 2 years ago)
- Last Synced: 2025-02-17T08:36:28.815Z (8 months ago)
- Topics: api, back-end, finances, money, money-manager, ruby
- Language: Ruby
- Homepage: http://tobe.created
- Size: 43 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monmon
## Use
---
Run tests: `ruby -I lib test/process_test.rb`Ruby CLI: `./bin/cli`
Use to run with database: `./bin/cli -a DB`
Use to run with CSV file: `./bin/cli -a CSV`
Use to change main currency. Where main currency is global standard ISO 4217: `./bin/cli -m USD`
## How DATABASE_URL should be specified
---
URI is formed as follows:
`postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]`For examples:
`postgresql://``postgresql://localhost`
`postgresql://localhost:5432`
`postgresql://localhost/mydb`
`postgresql://user@localhost`
`postgresql://user:secret@localhost`
`postgresql://other@localhost/otherdb?connect_timeout=10&application_name=myapp`
`postgresql://localhost/mydb?user=other&password=secret`
## Create DataBase
---
Run this command in your terminal to create database: `psql -f commands.sql`## Run server
---
Run server: `rackup`Next go to localhost:9292
Use to go to http://localhost:9292/ :
For **Linux**:
`xdg-open http://localhost:9292/`
For **Windows**:
`open http://localhost:9292/`
For **MacOS**:
`open -a "Safari" http://localhost:9292/`
or
`open http://localhost:9292/`