https://github.com/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.
https://github.com/beatrizfriso/librarian
azure azure-devops csharp ddd-architecture dotnet library library-management-system study-notes study-project
Last synced: 14 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/beatrizfriso/librarian
- Owner: beatrizfriso
- Created: 2023-04-03T02:46:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T00:12:08.000Z (over 1 year ago)
- Last Synced: 2025-04-10T21:55:54.959Z (14 days ago)
- Topics: azure, azure-devops, csharp, ddd-architecture, dotnet, library, library-management-system, study-notes, study-project
- Language: C#
- Homepage:
- Size: 333 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
- [x] CRUD (Create, Read, Update, Delete) operations for managing books in a library.
- [ ] Token-based authentication and authorization for securing API endpoints.
- [ ] Swagger documentation for easy API exploration and testing.
- [ ] Follows RESTful API design principles.
- [ ] Utilizes best practices for .NET development, including dependency injection, data access with Entity Framework Core, and exception handling.## Installation 🛠
To install and run the Librarian API, follow these steps:
> 1. Clone the repository to your local machine using the following command:

> 2. Change to the directory where Librarian API is cloned:

> 3. Install the required dependencies by running the following command:

> 4. Build the solution by running the following command

> 5. Run the API using the following command:

> 6. The API will be hosted at https://localhost:5001 by default. You can access it using a web browser or a tool like [Postman](https://www.postman.com/) 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](https://www.linkedin.com/in/beatrizfriso/). I appreciate your feedback and would be happy to assist you 💜