A mid exam project using laravel framework by Cornelius Tantius (2301859650).
- Run
composer install
to generate depedencies in vendor folder. - Create .env file in the root of the project (next to .env.example).
- Run
php artisan key:generate
to generate application key. - Configure .env (see the details below).
- Make a database called happybookstore or change it from .env and make the database.
- Run
php artisan migrate:fresh --seed
to migrate the database as well as the data. - Run the app using using
php artisan serve
Couple core components utilized in this project are:
- Bootstrap for UI
- Database using mysql.
- Model (to provide table data mapping and eloquent relation).
- Controller (to control the eloquent logic).
- Pages -> php blade files for the core / content display. Those pages are:
- Home page.
- Home page (for categorized view because it is dynamically set).
- Details page (to show book details).
- Contact page.
- Layout for core layouting that will be used at all view.
- Components, for important components that will be reused.
- Route for core web routing.