Skip to content

A simple eshop api without ordering system. This project's main purpouse is learning web api's.

License

Notifications You must be signed in to change notification settings

IbrahimSabriOrene/simple-eshop-api-with-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Eshop Web APi With Auth0

The main purpose of this project is learning fundamentals of web api's, logging, exception handling and OAuth0.

How to run this project:

First create the database using the sql code in SQL folder.

Then run this code in your terminal:

dotnet run --project Product.Api

Technologies

  • .NET 6
  • ASP.NET Core 6
  • Dapper
  • MediatR
  • FluentValidation
  • Swagger
  • JWT

Features

  • Database Sql Express Server 2019
  • Repository Pattern (Dapper)

EndPoints:

Category

GET  https://localhost:7101/api/v1/category/find-all-category
PUT  https://localhost:7101/api/v1/category/update-category
GET  https://localhost:7101/api/v1/category/find-category/{id:Guid}
POST https://localhost:7101/api/v1/category/create-category
DELETE https://localhost:7101/api/v1/category/delete-category

Product

GET  https://localhost:7101/api/v1/product/get-all-product
GET  https://localhost:7101/api/v1/product/create-product
PUT  https://localhost:7101/api/v1/category/update-product
GET  https://localhost:7101/api/v1/category/find-product/{id:Guid}
DELETE https://localhost:7101/api/v1/category/delete-product

SubCategory

GET  https://localhost:7101/api/v1/category/find-all-subcategory
PUT  https://localhost:7101/api/v1/category/update-subcategory
GET  https://localhost:7101/api/v1/category/find-subcategory/{id:Guid}
POST https://localhost:7101/api/v1/category/create-subcategory
DELETE https://localhost:7101/api/v1/category/delete-subcategory

About

A simple eshop api without ordering system. This project's main purpouse is learning web api's.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages