SnowballR Frontend
SnowballR is a web-based tool supporting Systematic Literature Reviews (SLR).
You can find all use cases on GitHub.
The fastest way to get started is to use the provided Docker setup. To do so, run the following commands:
git clone git@github.com:SE-UUlm/snowballr-frontend.git
cd snowballr-frontend
docker compose up
Be sure to have the environment variables set or create a .env file in the root directory of the project (see
below).
We provide several docker compose profiles for different setups. Without any arguments, a standalone frontend is started. If you don't have a backend server running, you can use the other profiles, which start a frontend that connects to the snowballR mock backend:
mock-local: Starts the frontend and the mock backend in a local setup.mock-public: Starts the frontend with a connection to the deployed mock backend.Use docker compose --profile <profile> up to start the frontend with the desired profile.
The app requires a set of environment variables to run. You can set them in a .env file in the root directory of the
project. Either create the file manually or copy the provided example:
cp .env.example .env
The environment variables are as follows:
| Variable | Required | Default | Description |
|---|---|---|---|
PUBLIC_API_BASE_URL | :white_check_mark: | - | The URL of the backend API. |
PUBLIC_IS_DEV_MODE | :x: | false | Whether the app is in development mode. This may enable additional development tooling. |
PUBLIC_CREDENTIAL_POLICY | :x: | "same-origin" | When the credentials for the backend should be attached to the request. Possible values are "same-origin", "include", and "omit". |
PORT | :x:* | 4173 | The port where the frontend is served |
GRPC_PORT | :x:* | 3000 | The port of the mock backend where the native server is listening on |
GRPC_WEB_PORT | :x:* | 3001 | The port of the mock backend where the gRPC web proxy is listening on |
* only used when using the docker compose profiles.
See our wiki to build the project from source.
[Feature]: Require confirmation on first review.
https://github.com/SE-UUlm/snowballr-frontend/issues/830
Labels: enhancement
[Refactor]: Migrate frontend from gRPC-Web to the REST API
https://github.com/SE-UUlm/snowballr-frontend/issues/827
Labels: refactor
[Feature]: Update shadcn components
https://github.com/SE-UUlm/snowballr-frontend/issues/804
Labels: enhancement
[Feature]: Invalide project cache after first paper receives its final decision
https://github.com/SE-UUlm/snowballr-frontend/issues/800
Labels: enhancement
[Refactor]: Remove jest-dom type shim for Vitest 5 once upstream supports it
https://github.com/SE-UUlm/snowballr-frontend/issues/755
Labels: refactor, dependencies
[Use Case]: Search for paper by external ID
https://github.com/SE-UUlm/snowballr-frontend/issues/746
Labels: use case
[Feature]: Add document/webpage link for papers
https://github.com/SE-UUlm/snowballr-frontend/issues/745
Labels: enhancement
[Bug]: paperId is empty when createPaper hits ALREADY_EXISTS
https://github.com/SE-UUlm/snowballr-frontend/issues/701
Labels: bug
[Feature]: Re-activate E2E tests when running with real backend
https://github.com/SE-UUlm/snowballr-frontend/issues/567
Labels: enhancement
No CONTRIBUTING document was found. Please check the README and open issues.