Skip to content

REST API for managing products in the store made in ASP.NET Core technology, using ORM EntityFramework.

Notifications You must be signed in to change notification settings

karolchoron/rest-api-.NET-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET Core C# Rest Api - shop

The project presents a simple REST API made in ASP.NET Core technology, using the EntityFramework ORM,
used to manage products in the store.
The user has the option:

  • to add: /api/Shop/Add
  • to edit /api/Shop/Edit
  • Downloading one or all products from the list: /api/Shop/GetOne and /api/Shop/GetAll
  • Removing products from the store: /api/Shop/Delete

Structure of the database table:

  • id
  • product name
  • creation date
  • date of editing
  • description
  • price

The data is stored in a Microsoft SQL Server database.
To create the database, I used EntityFramewor (database migration: Add-Migration, Update-Database)
I also placed the database files in the Baza_pliki directory.


Projekt przedstawia proste REST API wykonane w technologii ASP.NET Core, wykorzystujące ORM EntityFramework,
służące do zarządzania produktami w sklepie.
Użytkownik ma możliwość:

  • Dodania: /api/Shop/Add
  • Edycji: /api/Shop/Edit
  • Pobrania jednego lub wszystkich produktów z listy: /api/Shop/GetOne oraz /api/Shop/GetAll
  • Usuwania produktów z sklepu: /api/Shop/Delete

Struktura tabeli bazy danych:

  • id
  • nazwa produktu
  • data utworzenia
  • data edycji
  • opis artykułu
  • cena

Dane przechowywane są w bazie danych Microsoft SQL Server.
Do utworzenia bazy użyłem EntityFramewor (migracja bazy danych: Add-Migration, Update-Database)
Pliki bazy danych zamiesciłem również w katalogu Baza_pliki.

About

REST API for managing products in the store made in ASP.NET Core technology, using ORM EntityFramework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages