github.com/RUDRANSHFLY/library_2.0

a basic api for library management

Open this visualization on its own page →

Contributors

1

Lines of Code

229

From

2025-08-11

To

2025-08-13

About RUDRANSHFLY/library_2.0

Library 2.0 is a TypeScript-based REST API for managing library operations built with NestJS, a modern Node.js framework. The project uses Prisma as its object-relational mapper to interact with a MongoDB database, providing a type-safe database layer for the application.

The API implements core library management functionality including book CRUD operations, user authentication with JWT tokens, and authorization controls. The codebase is organized into modular components covering authentication, book management, database services, and shared utilities, making it maintainable and scalable. The project includes environment configuration for MongoDB connection details and JWT secrets, along with database migrations handled through Prisma.

Developers can get the project running by cloning the repository, installing dependencies with npm, configuring environment variables, and running Prisma migrations. The application starts a development server on port 3000 and provides an API endpoint at localhost:3000/api. The project includes end-to-end test coverage to ensure reliability of the implemented features.

Share this video