/BookStore

.Net WebApi for Cohort Homework

Primary LanguageC#MIT LicenseMIT

BookStore Week3 HW

An API and the infrastructure of this API have been prepared for the Vakıfbank - Patika FullStack bootcamp. This project is a book store. Books have create, update and get methods.

Ex Book:

{
  "title": "Ex book",
  "genreId": 2,
  "pageCount": 330,
  "publishDate": "2023-10-05T10:32:25.707Z"
}

Dependencies

  • AutoMapper
  • AutoMapper.Extensions.Microsoft.DependencyInjection
  • FluentValidation
  • Microsoft.AspNetCore.OpenApi
  • Microsoft.EntityFrameworkCore
  • Microsoft.EntityFrameworkCore.Design
  • Microsoft.EntityFrameworkCore.InMemory
  • Microsoft.EntityFrameworkCore.SqlServer
  • Microsoft.EntityFrameworkCore.Tools
  • Swashbuckle.AspNetCore

Homework Screenshots

GetById Model

GetByIdModel

UpdateBook Model

UpdateBookModel

GetById Validator

GetByIdValidator

UpdateBook Validator

UpdateBookValidator

DeleteBook Validator

deleteBookValidator