- PHP >= 7.2
- Composer
- PostgreSQL 10
- clone this project
- create new database from your PostgreSQL server
- setup your
.env
- run the migration
php artisan migrate
- run seeder
php artisan db:seed
- run the server
php artisan serve
- and now you can perform login using postman by accessing
[POST] localhost:8000/api/v1/login
and see dummy account
- please check the api routing inside
routes/api.php
- dummy account, please check
database/seeds/DatabaseSeeder.php
- make a product purchase transaction feature (cash payment)
- table
trx_purchases
andtrx_purchase_details
- model
TrxPurchase
- api
- can show all with paginate
- can show by id
- can delete by id
- can save new purchase transaction
- table
- make a product sales transaction feature (cash payment)
- table
trx_sales
andtrx_sale_details
- model
TrxSale
- api
- can show all with paginate
- can show by id
- can delete by id
- can save new purchase transaction
- model
- create the UI
- implement login api
- implement logout api
- implement save new sales transaction
- implement save new purchase transaction
- create docker image
- create automation to check codestyle with psr standard