Skip to content

BerkayMehmetSert/nArchitecture-eBook-api

Repository files navigation

E Book Web API

This project is a sample application for managing books and categories using ASP.NET Core Web API.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Visual Studio
  • .NET Core 5.0 or later
  • SQL Server

Installing

  1. Clone the repository
git clone https://github.com/BerkayMehmetSert/nArchitecture-eBook-api.git
  1. Open the solution file nArchitecture.eBook.sln in Visual Studio or running dotnet run in a terminal window

  2. Use a tool like Postman to interact with the API endpoints

API Endpoints

The following endpoints are available:

Books

  • GET /api/books - Retrieves a list of all books with pagination support

  • GET /api/books/get-by-id: Retrieves a book by its ID

  • POST /api/books: Creates a new book

  • PUT /api/books: Updates an existing book

  • DELETE /api/books: Deletes a book by its ID

Categories

  • GET /api/categories - Retrieves a list of all categories with pagination support

  • GET /api/categories/get-by-id: Retrieves a category by its ID

  • POST /api/categories: Creates a new category

  • PUT /api/categories: Updates an existing category

  • DELETE /api/categories: Deletes a category by its ID

Built With

About

This project is a sample application for managing books and categories using ASP.NET Core Web API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages