Repository for the GoodbyeRotten semester project. GoodbyeRotten is a mealkit delivery system like HelloFresh.
Open the java-db folder in IntelliJ.
Navigate to pom.xml file, on the right bar click the Maven icon and then double click compile to generate the java grpc types.
Navigate to the util/DatabaseConnection.java file and change the values of the database connection string to match your PostgreSQL instance and database. To check what they are you can open DataGrip and check the port and the database you need.
After that navigate to db/init.sql and run the whole file in a console connected to your database! You can do that in IntelliJ if you have your database set there or in DataGrip.
After that is done run the service/Main.java file. The output on your console should look like that.
Open the csharp folder in Rider.
Navigate to the csharp/api Solution, open a new terminal and go to csharp/api then run dotnet watch run
Alternatively you can choose from the dropdown on the top right api: http and run that 
Navigate to the csharp/client Solution, open a new terminal and go to csharp/client then run dotnet watch run
Alternatively you can choose from the dropdown on the top right client: http and run that 
Open a terminal in Rider and navigate to the the csharp/client/wwwroot folder. Then run npm install and after that npm styles. After you run npm styles you should see