Skip to content

Getting Started

Quinton Pryce edited this page Feb 15, 2017 · 3 revisions

Getting Started

This section will indicate key concepts and file structure for getting started with this project.

  1. Overview

  • App/Http/Controllers

    • This file folder contains the controllers for the project. Controllers represent the objects that contain functions that can have logic. Usually they will interact with the database.
  • App/file.php

    • These files are models that represent entities in the database.
  • Resources/views

    • These folders are the page sections that are rendered on request. They are grouped by component and are rendered through controllers.
  • Routes/web.php

    • This file contains the routes for our URLs. Each path is mapped to a controller function (ie. CourseController@show means the show function in CourseController.php).
  • Resources/lang

    • Contains a folder for each language the application supports. Application strings should be stored and referenced from the trans function (ie. trans('navigation.logout') in a template means to look for navigation.php. These files are just arrays with the id as the key and the string as the value.).
  1. Additional Notes

  • To use the log in functionality you must set up a local database on your system:
cd ~/Code/Laravel
php artisan migrate

Clone this wiki locally