Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.76 KB

README.md

File metadata and controls

76 lines (52 loc) · 2.76 KB

Report Royalty

This is a college assignment for software engineering subject. A web for manage royalty report. Authors will receive a royalty of 10% of the total printed books multiplied by the price per book ((Price book * printed books) * 10%). For manager royalty report mechanism, use a simple CRUD.

Requirement

Configuration

  • Configure your database what you want in .env file
  • If you use default configuration, create and run your database with name "ci4"
  • Create a table with name "royalty" and with correct structure
    • To make work easier, use Codeigniter migration feature
    • Use RoyaltySeeder in app\Database\Migrations\2021-07-19-181142_Royalty.php with run this code in your console
    php spark migrate Royalty
  • Seed your database
    • To make work easier, use fakerphp package
    • Use RoyaltySeeder in app\Database\RoyaltySeeder.php with run this code in your console
    php spark db:seed RoyaltySeeder
  • Run your web and database server with XAMPP or locate your current directory to this project and run this code in your console
    php spark serve
  • Enjoy it

Documentation

Homepage

Homepage

Add

Homepage

Validate input

Validation

Added Alert

Added

Result

Resultadd

Detail

Detail

Edit

Edit

Delete

Delete

Deleted Alert

Deleted

Search

Searh name "Bagus" Search

Reference

Thanks to 🙏👋 :