.Net WebAPI that empowers clients to efficiently manage a straightforward book catalog.
-
Retrieve All Books
- The API now effortlessly returns a comprehensive list of books from the catalog.
-
Get Book by ID
- Clients can seamlessly obtain information about a specific book using its unique identifier.
-
Add a New Book
- Adding new books to the catalog is now a streamlined process.
-
Update Existing Book Information
- Clients have the capability to update information for books already present in the catalog.
-
Delete a Book from the Catalog
- The API enables the removal of a book from the catalog with ease.
The API has undergone rigorous testing through unit tests to ensure reliability and proper functionality.
To facilitate the use of this API, comprehensive documentation has been generated using Swagger/OpenAPI tools.
For storing information about books, a PostgreSQL database has been employed. The database can be run locally.
For testing purposes, the API URL has been set to: https://localhost:8080
As a bonus, Docker has been implemented to enhance convenience and portability.
To launch the application, simply use the following command:
docker-compose up
Some data is already prepared in the database.