/laravel-4-app

Reliam App

Primary LanguagePHP

Reliam App

    <h4>To Do:</h4>
    <li>add '/logout' button in nav bar, but for now, you can use /logout</li>
    <li><a href="#user-content-usecase1">Finish->Use Case #1</a></li>
    <li><a href="#user-content-usecase2">Finish->Use Case #2</a></li>
    <li><a href="#user-content-usecase3">Finish->Use Case #3</a></li>
    <li>
    	<p>There needs to be a page that displays all accounts belonging to a specific organization. 
    	Grab the ID of the organization and match that up with a search through the accounts table 
    	for matching organization integers in that table.
    	</p>
    	<p>:: get all accounts where $organization == FUHU ::</p>
    	<p>:: get all instances where $organization == FUHU ::</p>
    </li>
    

    Updates

    Updates (4.20.15)
  • added admin area for sys admins
  • added user authorization, so if a user tries to enter into /admin area, they are redirected to /login
  • 	<h6>created user test accounts:</h6>
    		<li>$usernames->array(zeus,hera,pandora,prometheus);</li>
    		<li>$password == 'password';</li>
    
    	<h5>Updates (4.15.15)</h5>
    		<li>added /organizations for displaying all organizations</li>
    		<li>added /accounts for listing all accounts</li>
    		<li>added /instances for listing all instances </li>
    		<li>migrated test data into app using 'php artisan db:seed' terminal command</li>
    		<li>created test data db:seeds for following laravel's </li>
    </ul>
    

    Requirements:

      For this first iteration lets just focus on these three entities:
    • Organization: Create, Read and Update
    • Account: Create, Read and Update
    • Instance: List in table, and Read individually.

    Use Cases:

    Use Case #1:

    As a sys admin I should be able to create an organization and provide the AWS API keys for an account. Upon creation, the system would call a python script to collect data.

    This may be a long operation, so we would need some dummy progress bar animation

    Use Case #2:

    As a support associate I should be able to select an organization, and view all instances for all accounts of the selected organization.

    The instances page would have a table containing the following fields :

    • [column_name] => [UI label]
    • id => label: Instance Id
    • tags => Tags // Heads up. This will be JSON string
    • _state => State
    • public_dns_name => Public DNS Name
    • ip_address => Public IP
    • private_dns_name => Private DNS Name
    • private_ip_address => Private IP
    • instance_type => Instance Type
    • region => Region
    • account_name ??? (this is low priority)

    Use Case #3:

    As a support associate I should able click a “Refresh Button” in Account pages.

    Under the hood a python script will be called and take care of syncing data

      Installing Laravel VM with Homestead & Vagrant

    • Install Composer
    • Install Laravel CLI Tool
    • Run: homestead up
    • Run: homestead ssh
    • Run: php artisan migrate
    • Run: php artisan db:seed