A webservice for the organization of webservices
- Install .NET SDK
- Install postgreSQL and configure it with Atria
- Either set up a user with username
user
and passwordpassword
that can login and create databases (easy GUI interface: pgAdmin, see Setup Guide below) - Or change the
DatabaseString
in appsettings.json appropriately
- Either set up a user with username
- Install Entity Framework Core (
dotnet tool install --global dotnet-ef
) - Initialize the database (
dotnet ef database update
in theBackend
directory of the repository) - Start both backend and frontend in their corresponding repository (e.g. with
dotnet watch
) - Optional: Create mock data with
DatabaseMocker
- Install pgAdmin
- In pgAdmin 4: Servers -> Login/Group Roles -> Right Click -> Create -> Login/Group Role
-
- General -> Name:
user
- Definition -> Password:
password
- Privileges -> Can login?:
true
, Create databases?:true
- General -> Name: