Librarian API is a .NET-based web API for managing a book library, designed for study purposes. It provides endpoints for adding, retrieving, updating, and deleting books in a book library, and serves as a learning resource for understanding API development using .NET technologies.
Librarian API will include the following features:
To install and run the Librarian API, follow these steps:
- Clone the repository to your local machine using the following command:
- Change to the directory where Librarian API is cloned:
- Install the required dependencies by running the following command:
- Build the solution by running the following command
- Run the API using the following command:
- The API will be hosted at https://localhost:5001 by default. You can access it using a web browser or a tool like Postman for API testing.
The Librarian API provides the following endpoints for managing a book library:
GET /api/books: Retrieves all books in the library.
GET /api/books/{id}: Retrieves a specific book by its ID.
POST /api/books: Adds a new book to the library.
PUT /api/books/{id}: Updates an existing book by its ID.
DELETE /api/books/{id}: Deletes a book from the library by its ID.
This repository is intended for study purposes only and is not currently open for external contributions.
If you have any questions or suggestions about the Librarian API, please feel free to contact me. I appreciate your feedback and would be happy to assist you π