mirror of
https://github.com/ellmau/adf-obdd.git
synced 2025-12-19 09:29:36 +01:00
Bumps [actix-multipart](https://github.com/actix/actix-web) from 0.6.0 to 0.6.1. - [Release notes](https://github.com/actix/actix-web/releases) - [Changelog](https://github.com/actix/actix-web/blob/v0.6.1/CHANGES.md) - [Commits](https://github.com/actix/actix-web/compare/v0.6.0...v0.6.1) --- updated-dependencies: - dependency-name: actix-multipart dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Backend for Webservice
This directory contains the backend for https://adf-bdd.dev built using actix.rs.
Usage
For local development run:
docker compose upto run a MongoDB including a web admin interfaceMONGODB_URI=mongodb://root:example@localhost:27017/ cargo run -F cors_for_local_development -F mock_long_computationsto start the server, connecting it to the MongoDB and allowing CORS from the frontend (running on a separate development server)
The server listens on localhost:8080.
The feature flag -F mock_long_computations is optional and just mimics longer computation times by using std::thread::sleep. This can be helpful to check how the frontend will behave in such cases.