okaufmann / laravel-web-money-manager-ex

5 stars 1 forks source link

Laravel Money Manager Ex WebApp

Build Status StyleCI Scrutinizer Code Quality Total Downloads Latest Stable Version Latest Unstable Version License

Laravel Money Manager Ex - WebApp allow you to insert new transaction directly from every device: It only needs a browser with HTML5 and internet connection to your webserver. Its claim is to add only a "transaction remember" with only some essential data, that will be reviewed calmly in desktop version. All transaction will be in fact downloaded at first startup of MoneyManagerEx desktop version, opening and reviewing transactions one by one. At the same time desktop version will update account, payees and categories in WebApp to keep them in sync between them.

Requirements

Installation

Run the following command in the directory you wanna place the app:

composer create-project --prefer-dist okaufmann/laravel-web-money-manager-ex .

BETA If you want the latest beta version, use the following command:

composer create-project --prefer-dist --stability=dev okaufmann/laravel-web-money-manager-ex .

Configuration

Edit the following parameters to match your environment:

APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db name
DB_USERNAME=username
DB_PASSWORD=password

API for Monex Manager Ex Client

Since Money Manager EX Client search the API at /services.php some nginx config is needed. Add the following to your site configuration to make it work with the Laravel Routing System:

location = /services.php {
        try_files $uri $uri/ /index.php?$query_string;
    }

Transaction API

You can add and get transactions via API.

Authentication Visit your user profile under /user to get the api key.

Append ?api_token={your api key} to each request (as query parameter). Also you have to set the Headers Accept and Content-Type to application/json.

Create Transaction

POST data with the following schema to api/v1/transactions

{
    "transaction_date": "2017-07-16T12:00:00+00:00",
    "transaction_type": "Deposit",
    "transaction_status": "Reconciled",
    "account" : "Primary Account",
    "to_account":  "Secondary Account",
    "payee": "Neo",
    "category": "Bills",
    "subcategory": "Internet",
    "amount" : 13.37,
    "notes" : "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
}

Properties:

Get Transactions

You can receive all created transactions under api/v1/transactions.

Parameters

Edit Transaction

TODO

Contributing

Please see CONTRIBUTING for details.

License

Laravel Money Manager Ex - WebApp is open-sourced software licensed under the MIT license.