Stars: 139
Forks: 71
Pull Requests: 52
Issues: 19
Watchers: 11
Last Updated: 2023-08-16 13:25:17
A personal bookkeeping web application, built with Laravel.
License: MIT License
Languages: PHP, Shell, Blade
Dompet is a personal bookkeeping web application, built with Laravel 5.
Easy bookkeeping for personal income and spending (amount of money).
To aquire our objective, we need this features on the application:
-
sign on numbers indicates spending/outcome transaction.Those are basic concept of the personal bookkeeping service.
This application can be installed on local server and online server with these specifications :
git clone https://github.com/nafiesl/dompet.git
$ cd dompet
$ composer install
$ cp .env.example .env
$ php artisan key:generate
$ mysqladmin -urootuser -p create dompet_db
).env
file$ php artisan migrate
$ php artisan serve
php artisan passport:install
, we will get this output.Encryption keys generated successfully.
Personal access client created successfully.
Client ID: 1
Client secret: XQIkbQxxxxxasQHt9YU
Password grant client created successfully.
Client ID: 2
Client secret: IWzI2DvXDxxxxb1kIH
Password grant client
on our .env
.PASSPORT_CLIENT_ID=2
PASSPORT_CLIENT_SECRET=IWzI2DvXDxxxxb1kIH
php artisan serve
.Starting Laravel development server: http://127.0.0.1:8000
curl -X POST \
http://127.0.0.1:8000/api/auth/login \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "[email protected]",
"password": "password"
}'
{
"token_type": "Bearer",
"expires_in": 31536000,
"access_token": "eyJ0eXAiOxxxx2XJEbA",
"refresh_token": "def5020xxxx58b21"
}
access_token
value as the bearer authorization header.curl -X GET \
http://127.0.0.1:8000/api/transactions?year=2018&month=09 \
-H 'Accept: application/json' \
-H 'Authorization: Bearer eyJ0eXAiOxxxx2XJEbA'
Response:
{
"data": [],
"stats": {
"start_balance": "0.00",
"income_total": "0.00",
"spending_total": "0.00",
"difference": "0.00",
"end_balance": "0.00"
}
}
If you are considering to contribute to this repo. It is really nice.
Dompet project is a free and open-sourced software under MIT License.