Skip to content

Ionut253/WebAPI

 
 

Repository files navigation

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!

  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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 90.6%
  • HTML 8.8%
  • Other 0.6%