Online bookshop frontend written in Flutter.
Create a .env
file in the assets/
folder with the following content:
CLIENT_ID=bookshop
KEYCLOAK_URI_SCHEME=http
KEYCLOAK_REALM=unimi
KEYCLOAK_HOST=localhost:8080
Clone the bookshop-BE repo and start it.
I suggest using Pycharm for Venv and Packages installation.
flutter run -d chrome --web-renderer html --web-port=8000
- Build the project
flutter build web
-
Copy
.env
file inbuild/web/assets
-
Run with Python or other HTTP server
python3 -m http.server -d build/web -b localhost 8000