Laravel Server - How to Start Docs: https://laravel.com/docs/12.x
-
Install PHP, Composer & Laravel:
/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.4)" -
Build the app (might not be required)
npm install && npm run buildcomposer installcomposer global require laravel/installerphp artisan key:generate -
Ensure Postgres is running on 127.0.0.1:5432 and ensure database fiit_wtech is created, then run migrations:
php artisan migrateORmake dbto reset and seed the database -
Start the server:
composer run dev
Or just use make dev to reset the DB and start the dev server.
Notes:
HTML templates are in /resources/views (renamed to .blade.php), CSS is in /resources/css, images are in /public/images, DB config is in .env
Dir structure: https://laravel.com/docs/12.x/structure
See index.blade.php as an example of how to include CSS
Fliqqr - Filip Ďuriš
Sciloy - Matej Csaszar
Useful links: https://www.figma.com/design/pRDpGc0v6ay6MTd5YS4QYG/Untitled?node-id=1-109&p=f&t=OVBUYLyLXvmLWZQ5-0


