
nest-book-library-api
This project is a backend API for managing a book library, implemented in TypeScript using NestJS.
Features
CRUD operations for Books (Add/Edit/Delete/List/View)
CRUD operations for Categories (Add/Edit/Delete/List/View)
Unique name validation for both Books and Categories
Nested Categories (expandable to infinite depth)
Breadcrumb generation for Books
Automatic deletion of Books when their Category is removed
Migrated to Prisma for database interaction
Unit tests for core functionality (not updated after Prisma integration)
Installation
Prerequisites
Node.js (v20+ recommended)
PostgreSQL (configurable via environment variables)
Steps
Run tests (not updated after Prisma integration)
Swagger Documentation
Swagger UI is available at:
License
This project is licensed under the MIT License.
0 likes · 15 views · Feb 19, 2025
Book Library API is a NestJS backend for managing books and categories, featuring CRUD, nested categories, and Prisma integration.