Skip to content

garyng/Wimm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wimm - Where Is My Money?

Simple online wallet system built with Laravel and Angular.

Running

$ cd src
$ docker-compose up
port
api 8000
web 4200

Development

$ cd src
$ docker-compose -f docker-compose.dev.yml up
container port
php artisan serve wimm-api-dev 8000
ng serve wimm-web-dev 4200

Sometimes docker fails without any obvious reasons, resulting in all ports (even though published) not accessible from the host. In case it happens, here is the manual way of starting the project with ng serve and php artisan serve:

$ cd src/api/laradock
$ docker-compose up -d mysql workspace

Find the id of the workspace container:

$ docker ps

CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                                        NAMES
4a64f9f5e3be        laradock_workspace   "/sbin/my_init"          41 seconds ago      Up 35 seconds       0.0.0.0:2222->22/tcp, 0.0.0.0:8000->80/tcp   laradock_workspace_1

bash into the workspace container:

$ docker exec -it 4a64f9f5e3be bash

Run php artisan serve on host 0.0.0.0

$ php artisan serve --host=0.0.0.0 --port=80
Laravel development server started: <http://0.0.0.0:8000

To start the Angular development server, run these on the host:

$ cd src/web
$ ng serve

Initializing

To initialize the database, navigate to localhost:4200/app/profile/ and click on Initialize database and Populate sample data.

Screenshots

Landing page

Dashboard

Balances

Expenses

Records

All records

Deleting record

Add new record

Changing currency

Budgets

All daily budgets

Deleting budget

Overlimit

Set new budget

Recurrences

All recurrences

Overdue recurrence

Renewing recurrence

Recurring record of different currency

Add recurrence

Profile

Change default currency

Others

This project is made for my TSE2231 Software Engineering Fundamentals subject.