/EPS

Primary LanguagePHP

Welcome to the EPS TASK

Intro:

Hello, This is the task that was asked from me "AbdElRahman Ezzat - a.ezzat1997@gmail.com". The task was Requested by Dr Gamal & Dr Abd EL Qader. The Task bussiness is that we have an accounts (maybe bank account "The Task doucment wasn't clear about it") and to create tasks and assign it to users.


My Approach to this task is.

I First made the user and useController files to be able to create and edit the user.
I then added the accounts and accoutController to add the accounts types.
I used Many to Many relationships to link the users with the accounts, as the user may have many account and the account itself may belong to many user.

Notes

  • Edit .env file to match the database credintails to your record
  • Run "php artisan migrate" to include the database design implemnted
  • there is a dump of the data incase you want a ready data ie(data while working, as I didn't have time to make some factories)
  • The Files that were created/Edited are
    • Web (routes files)
    • userController
    • acountController
    • UserRequest [to validate the User form]
    • AccountRequest [to validate the Account form]
    • The naming conventions is following PSR-2
  • The used Packages are the following
    • Laravel Collections (for deailing with forms)