beatrizfriso / Librarian

This API is designed to be easy to use, with clear documentation and a simple, intuitive interface. This repository was made to test my .NET and C# studies.
5 stars 1 forks source link
azure azure-devops csharp ddd-architecture dotnet library library-management-system study-notes study-project

Librarian πŸ“š

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.

Features πŸ’»

Librarian API will include the following features:

Installation πŸ› 

To install and run the Librarian API, follow these steps:

  1. Clone the repository to your local machine using the following command:

image

  1. Change to the directory where Librarian API is cloned:

image

  1. Install the required dependencies by running the following command:

image

  1. Build the solution by running the following command

image

  1. Run the API using the following command:

image

  1. 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.

Usage ✏️

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.

Contributing πŸ’¬

This repository is intended for study purposes only and is not currently open for external contributions.

Contact

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 πŸ’œ