Create a .env file in the frontend/ directory and specify the NEXT_PUBLIC_BACKEND_URL environement variable in this file to specifiy on which host and port the backend runs. The value defaults to http://localhost:8081/ when not specified in said file.
yarn install to install all necessary packages (requires the yarn package manager and NodeJS)
yarn dev to compile the frontend code and run it with NextJS
yarn build to compile the frontend code for production
yarn start to run the previously compiled files with NextJS
Yannis Laaroussi & Lucas Bürgi