• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 6 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A personal bookkeeping web application, built with Laravel.

Dompet

Build Status Coverage Status

Dompet is a personal bookkeeping web application, built with Laravel 5.

Objective

Easy bookkeeping for personal income and spending (amount of money).

Concept

To aquire our objective, we need this features on the application:

  • User can register.
  • User can see transaction history by date of their own.
  • User add transactions for income and spending.
  • User can categorize the transaction.
  • User can see transaction summary on each month or a year.
  • - sign on numbers indicates spending/outcome transaction.

Those are basic concept of the personal bookkeeping service.

Getting Started

This application can be installed on local server and online server with these specifications :

Server Requirements

  1. PHP >=7.3 (and meet Laravel 8.x server requirements),
  2. MySQL or MariaDB database,
  3. SQlite (for automated testing).

Installation Steps

  1. Clone the repo : git clone https://github.com/nafiesl/dompet.git
  2. $ cd dompet
  3. $ composer install
  4. $ cp .env.example .env
  5. $ php artisan key:generate
  6. Create new MySQL database for this application
    (with simple command: $ mysqladmin -urootuser -p create dompet_db)
  7. Set database credentials on .env file
  8. $ php artisan migrate
  9. $ php artisan serve
  10. Register new account.

Laravel Passport Setup for REST API

  1. Run 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
  1. Set the Password grant client on our .env.
PASSPORT_CLIENT_ID=2
PASSPORT_CLIENT_SECRET=IWzI2DvXDxxxxb1kIH
  1. Run the web server php artisan serve.
Starting Laravel development server: http://127.0.0.1:8000
  1. Login to the API endpoint using our REST API client (like Postman).
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"
}'
  1. We will get this response:
{
    "token_type": "Bearer",
    "expires_in": 31536000,
    "access_token": "eyJ0eXAiOxxxx2XJEbA",
    "refresh_token": "def5020xxxx58b21"
}
  1. Use the 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"
  }
}

Contributing

If you are considering to contribute to this repo. It is really nice.

  1. Submit Issue if you found any errors or bugs or if you want to propose new feature.
  2. Pull Request for bugfix, typo on labels, or new feature.

Screenshots

Transaction List on a Month

Dompet Monthly Transaction List

Transaction List on Selected Date

Dompet Daily Transaction List

Transaction Summary Report

Dompet Daily Transaction List

License

Dompet project is a free and open-sourced software under MIT License.

More Repositories

1

silsilah

A genealogy/family tree application, built with Laravel.
PHP
597
star
2

free-pmo

Project management software for freelancers or agencies, built with Laravel.
PHP
436
star
3

grosir-obat

Sebuah sistem kasir dan manajemen produk obat untuk penjualan Grosir
PHP
224
star
4

SimpleCrudGenerator

Faster test-driven development for CRUD feature in Laravel project.
PHP
169
star
5

uptime-monitor

A self-hosted web monitoring tool, built with laravel
PHP
130
star
6

laravel-leaflet-example

Laravel Leaflet JS project example.
PHP
106
star
7

arisan

Sistem pengelolaan grup arisan berbasis web yang dibangun dengan Laravel 5.
PHP
29
star
8

FormField

Laravel Form Field the extension of Laravelcollective Form
PHP
15
star
9

Mini-CRM

Mini CRM project, a challenge from Laravel Daily blog post.
PHP
14
star
10

Laravel-TDD

Source code laravel testing pada blog https://blog.nafies.id/tdd-laravel
PHP
10
star
11

laravel-backup-manager

Laravel 5.3 with Database Backup and Restore Example
PHP
10
star
12

mini-socmed

Sosial media mini untuk latihan notifikasi realtime laravel dengan pusher
PHP
9
star
13

product-stock

A product stock management web app example
PHP
6
star
14

Laravel-Starter-Kit

Laravel 5.2 starter kit
PHP
4
star
15

laravel-multi-table-auth

Example Laravel 5.6 application with multi table authentication.
PHP
4
star
16

radio-online

List radio online
HTML
3
star
17

simple-crud-generator-example

Laravel Simple CRUD Generator Usage Example
PHP
3
star
18

laravel-queue-notifier-example

Example for notifying users when a background (job) process has been completed.
PHP
2
star
19

simple-crud-generator-docs

Documentation for the SimpleCRUDGenerator package.
HTML
2
star
20

learning-hugo

Learning to use hugo, static site generators.
HTML
1
star
21

training-laravel-01

Training Laravel untuk Magang SMKN 3 Banjarbaru
PHP
1
star
22

panduan-penjualan

Panduan aplikasi kasir untuk toko obat
1
star
23

laravel-56-bootstrap3

Laravel 5.6 project using Bootstrap 3.3.7 frontend scaffolding.
PHP
1
star