Skip to content

marcocimarius/SEP3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for the GoodbyeRotten semester project. GoodbyeRotten is a mealkit delivery system like HelloFresh.

How to run

Java

Open the java-db folder in IntelliJ.

GRPC

Navigate to pom.xml file, on the right bar click the Maven icon and then double click compile to generate the java grpc types.

image

Database

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.

image

CSharp

Open the csharp folder in Rider.

API

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 image

Client

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 image

Styles

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

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •