Skip to content

vinityad/BookAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookAPI

WebApi application with Entity Framework (code first) with the following endpoints.

  • GET /books - get all books
  • GET /book/{id} - get book by id
  • DELETE /book/{id} - delete book (should not delete item in DB, only mark it is deleted)
  • POST /book/{id} - create book
  • PATCH /book/{id} - update book (partial, update only fields which was sent)
Book object
{
  id: string, // guid
  name: string,
  numberOfPages: number,
  dateOfPublication: number, // utc timestamp
  createDate: number, // utc timestamp, internal only (not returned by api)
  updateDate: number, // utc timestamp, internal only (not returned by api)
  authors: string[]
}

Also it uses following technology.

  • Autofac
  • AutoMapper
  • EF6
  • JsonPatch
  • Swagger
  • Repository Pattern
  • Unit of Work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors