Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
/ Atria Public archive

A webservice for the organization of webservices

Notifications You must be signed in to change notification settings

AtriaStar/Atria

Repository files navigation

Atria

A webservice for the organization of webservices

Setup

  1. Install .NET SDK
  2. Install postgreSQL and configure it with Atria
    • Either set up a user with username user and password password that can login and create databases (easy GUI interface: pgAdmin, see Setup Guide below)
    • Or change the DatabaseString in appsettings.json appropriately
  3. Install Entity Framework Core (dotnet tool install --global dotnet-ef)
  4. Initialize the database (dotnet ef database update in the Backend directory of the repository)
  5. Start both backend and frontend in their corresponding repository (e.g. with dotnet watch)
  6. Optional: Create mock data with DatabaseMocker

Setup Database for Atria with pgAdmin

  1. Install pgAdmin
  2. In pgAdmin 4: Servers -> Login/Group Roles -> Right Click -> Create -> Login/Group Role
    1. General -> Name: user
    2. Definition -> Password: password
    3. Privileges -> Can login?: true, Create databases?: true