The server code is located in the Xpense Server directory.
Before starting it you might want to change the variables in the "Xpense Server"/.env file.
To start the server locally, run following command:
cd Xpense Serverto go to the server code directoryvapor run migrateto migrate the database (only needs to be done once)vapor run serveto start the server
To start the server with Docker you can run the following commands:
cd Xpense Serverto go to the server code directorydocker compose build appto build the vapor applicationdocker compose up -dto start the database and vapor applicationdocker compose run migrateto migrate the database (you have to wait until the database is availabe)docker compose logs -fto see the output of all servicesdocker compose logs -f appto see only the output of the vapor applicationdocker compose downto stop all services