Thank you for checking my demo website!
Database: Migrations and seeding In this demo website the database schema is created by Laravel migration, which can be easily rollback and reset. All migrations are placed in the database/migrations directory.
Database test data are seeded by Laravel seed classes. All seed classes are stored in the database/seeds directory.
Model and Eloquent
Model Phone
is used in the Frontend.portfolio page. All phone data is retrieved from the database through the controller via the Eloquent method.
Model news
is used in the Frontend.timeline page. Each news recorder is a timeline item.
###Routing and Controller
All Laravel routes are defined in the app/Http/routes.php file, which is automatically loaded by the framework. There are three sections in routes.php
, which are frontend views, backend, API .
The related HTTP request handling logic is grouped into different controller classes. These controllers are stored in the app/Http/Controllers directory.
###Views
In this demo website all the pages are created by Laravel blade
templating engine, using the .blade.php
file extension and stored in the resources/views directory.
###Admin and CRUD
Authentication is implemented using the cartalyst/sentinel
package. Access backend can be either through Backend Login or through the given admin link on welcome page. Demo user credentials are email: [email protected] | pw: admin
.
You can use Add New Timeline Item to create a new timeline item under the Timeline items
menu. When a timeline item is created, it will be presented on the Frontend.timeline page immediately. You can edit or delete timeline items by using Timeline Item List.Actions ๐ โ๏ธ.
###jQuery components In this demo website, the used jQuery components are datatables, font-awesome, ihover, owl_carousel, summernote, and vertical-timeline
##License
L icensed under the MIT license.