This project is for educational purposes only.
In /server
:
composer install
docker-compose up
sudo docker-compose exec myapp php artisan migrate:fresh
sudo docker-compose exec myapp php artisan db:seed
sudo docker-compose exec myapp php artisan storage:link
Visit localhost:8001
User:
test@example.com
Password:
hardcoded
cp server/.env.example server/.env.exaple
sudo docker-compose exec myapp php artisan key:generate
For the sake of simplicity, I added flutter build to the repository, so you don't have to build it.
In client
folder run:
flutter build web
after building, the files from /client/build/web
will be served on http://localhost:8001/
Flutter let's you use chrome(ium) as your dev device, no need to build every time to use the API, you can use the API provided by laravel in that device. :)