Prerequisites

.NET SDK (v8.0)

Installation

  1. Clone the repository
git clone https://github.com/sahilshahane/BookStore
cd BookStore
  1. Install C# Dependencies
dotnet restore
  1. Configuring the database (optional step)

    A default database is already provided but if new database is required then follow below steps:

    • Update the "ConnectionStrings.BookStore" property in appsettings.json

    • Apply migrations to newly created database

      dotnet ef database update
      

Starting the Web Server

dotnet run

Features

  • List books
  • Create a book
  • Delete a book
  • Edit a book
  • Searching book: by title or author
  • Pagination : KeySet based

Tech Stack