This project demonstrates how to work with the Laravel framework and familiarizes students with this development framework. It also teaches students best practices in web application development regardless of the chosen framework solution, and focuses on the advantages and disadvantages of specific solutions.
Local installation
To install, you need to have these components installed on your system:
- PHP 8.3 or higher is available in the command line.
- Composer is available in the command line.
- NPM (v11.5) and Node.js (v24.5) or newer versions.
- General installation (new project and system requirements) is described at Výukových materiálech.
- Clone the repository
git cloneof this project, or use an IDE cloning tool. - Install PHP libraries
composer install. Install NPM libraries(not necessary yet).npm install- Set up the project:
- Copy
.env.example > .envfile and setup the file. - Generate key
php artisan key:generate.
- Copy
- Migrate database and seed all data
php artisan migrate:fresh --seed. Pokud používáte SQLite dataábi (ta výchozí) tak pozor: často se nevytvoří soubor database.sqlite ve složce database. Pokud se nevytvoří automaticky, vytvořte jej! Build CSS(not needed yet).npm run devornpm run buildfor built- Start server
php artisan serve.