Skip to content

Added web server and refactored project structure

Scott requested to merge workspace-refactor into master

Web Server Merge

This PR takes the proof of proof of concept Axum web server and moves it into the same repo as the game. This is so that the game and server can easily share data structures. As part of this, Sqlite and Sqlx have been added. Sqlx is capable of verifying that the sql schema matches the data structures the code is using at build time which allows type checking of the interface between sql and the game.

Project Structure Refactor

With the server and game client now in the same repo, the repo structure has to be refactored. There is now a cargo workspace for the three current projects (client, server, common) and each project sits in its own folder. Doing this required updating all of the CI and build scripts.

Merge request reports

Loading