1
0
mirror of https://github.com/ellmau/adf-obdd.git synced 2025-12-19 09:29:36 +01:00
dependabot[bot] a256758be8
Bump mongodb from 2.6.0 to 2.8.2
Bumps [mongodb](https://github.com/mongodb/mongo-rust-driver) from 2.6.0 to 2.8.2.
- [Release notes](https://github.com/mongodb/mongo-rust-driver/releases)
- [Commits](https://github.com/mongodb/mongo-rust-driver/compare/v2.6.0...v2.8.2)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 13:03:18 +00:00
..
2024-01-08 12:56:22 +01:00
2024-04-01 13:03:18 +00:00
2023-05-04 17:10:38 +02:00
2023-05-04 17:10:38 +02:00

Backend for Webservice

This directory contains the backend for https://adf-bdd.dev built using actix.rs.

Usage

For local development run:

  • docker compose up to run a MongoDB including a web admin interface
  • MONGODB_URI=mongodb://root:example@localhost:27017/ cargo run -F cors_for_local_development -F mock_long_computations to 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.