8000 GitHub - Rotciv004/WebAPI-Notification: Assignment 4 for the Software Engineering course at UBB, year 2 in Computer Science. The purpose is to transform the previous WinUI app into a multi project solution including a WebAPI for the database connection and now we use http requests to communicate with the database.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Assignment 4 for the Software Engineering course at UBB, year 2 in Computer Science. The purpose is to transform the previous WinUI app into a multi project solution including a WebAPI for the database connection and now we use http requests to communicate with the database.

Notifications You must be signed in to change notification settings

Rotciv004/WebAPI-Notification

 
 

Repository files navigation

image

Project structure

Please read the pdf before starting to code.

📁 ClassLibrary
│   ├── 📄 ClassLibrary.csproj
│   ├── 🧩 Domain            # Domain models (use this in WinUI project, do not redefine them there)
│   ├── 🧾 IRepository       # Interfaces (must be implemented in WinUI/Repository)
│   └── 📘 README.md
📄 Project setup - ISS.pdf
📄 UBB-SE-SLN.sln
📁 WebAPI
│   ├── 🎮 Controller
│   ├── 🗄️ Data
│   ├── 🧩 Entity
│   ├── 📜 LICENSE
│   ├── 📄 Pages
│   ├── 🧠 Program.cs
│   ├── ⚙️ Properties
│   ├── 📘 README.md
│   ├── 🛠️ Repository
│   ├── 📄 WebApi.csproj
│   ├── ⚙️ appsettings.Development.json
│   ├── ⚙️ appsettings.json
│   └── 🌐 wwwroot
📁 WinUI
│   ├── 📄 App.xaml
│   ├── 🧠 App.xaml.cs
│   ├── 🖼️ Assets
│   ├── 🪟 MainWindow.xaml
│   ├── 🧠 MainWindow.xaml.cs
│   ├── 🧩 Model
│   ├── 📦 Package.appxmanifest
│   ├── ⚙️ Properties
│   ├── 🛠️ Repository        # Implement interfaces from ClassLibrary/IRepository here
│   ├── 🔧 Service
│   ├── 🖼️ View
│   ├── 🧠 ViewModel
│   ├── 📄 WinUI.csproj
│   ├── ⚙️ WinUI.csproj.user
│   └── ⚙️ app.manifest

⚙️ In order to update your database, run the following:

❗️ This assumes that you dropped your local database first! ❗️ Edit: Osaki here, use the sql script, migrations are not working.

  1. Go into the WebAPI folder:
cd WebAPI
  1. Run the table creations script:
dotnet ef database update InitialCreate
  1. Run the mock data seeding script:
dotnet ef database update SeedMockData

About

Assignment 4 for the Software Engineering course at UBB, year 2 in Computer Science. The purpose is to transform the previous WinUI app into a multi project solution including a WebAPI for the database connection and now we use http requests to communicate with the database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 90.3%
  • HTML 9.2%
  • Other 0.5%
0