Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Rewrite the DSA-lobby backend in Rust #60

Open
Ma27 opened this issue Mar 20, 2020 · 2 comments
Open

Rewrite the DSA-lobby backend in Rust #60

Ma27 opened this issue Mar 20, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Ma27
Copy link
Member

Ma27 commented Mar 20, 2020

To have a consistent code-base in the long run, it has been decided on our last sync a few weeks ago that the game-lobby API (currently written in C# and available in the old DiscoBot repo) should be ported to Rust as well.

With this change, we'll have even less components cluttered across several repos and can build (almost) the entire project in one run.

@Ma27 Ma27 added the enhancement New feature or request label Mar 20, 2020
@Ma27 Ma27 self-assigned this Mar 20, 2020
@TrueDoctor
Copy link
Member

The API itself should be fairly trivial to implement. I suggest to use some framework like rocket for the api.
We have to build a new database structure as well to migrate away from firebase. I'd suggest to just use a postgres db.
On that note, should we provide a docker compose solution for easy deployment? (web api, database, rask-server)
And should we merge the web api and the game-server?

@TrueDoctor TrueDoctor linked a pull request Apr 12, 2020 that will close this issue
7 tasks
@TrueDoctor
Copy link
Member

TrueDoctor commented Apr 18, 2020

Should we provide a cli interface for the server?
this could be inspired by rask-server to save us some work
Alternatively, we could use a Rocket.toml as described here:
https://rocket.rs/v0.4/guide/configuration/

@TrueDoctor TrueDoctor assigned TrueDoctor and unassigned Ma27 Dec 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants