/bookshop-FE

Simple bookshop frontend for SOASEC project

Primary LanguageDart

bookshop_fe

Online bookshop frontend written in Flutter.

"Bookshop"

Configuration

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

Run (in debug)

Start the backend

Clone the bookshop-BE repo and start it.

I suggest using Pycharm for Venv and Packages installation.

Start the frontend

flutter run -d chrome --web-renderer html --web-port=8000

Build

  • Build the project
flutter build web
  • Copy .env file in build/web/assets

  • Run with Python or other HTTP server

python3 -m http.server -d build/web -b localhost 8000