{"repo":"MkdirRaiden/credence","free":true,"listed":false,"github":"https://github.com/MkdirRaiden/credence","clone":"git clone https://github.com/MkdirRaiden/credence.git","description":"Professional, scalable NestJS & Prisma backend for a credit ledger and referral system, built with a focus on clean architecture, SOLID principles, and production-readiness.","language":"TypeScript","stars":10,"topics":["authentication","backend","clean-architecture","docker","joi","jwt","nestjs","nodejs","postgresql","prisma"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Credence Professional, scalable NestJS & Prisma backend application for credit ledger and referral system. Author: Ahmed muktadir1996ahmed@gmail.com Features - Modular NestJS architecture following SOLID and DRY principles. - Secure authentication with JWT, refresh tokens, and RBAC. - Comprehensive Prisma schema with strong database-level constraints. - Custom CLI scripts for managing schema, migrations, seeding, and environment. - Structured logging and health monitoring. Architecture Overview Credence is built using a modular NestJS framework, emphasizing clean architecture and scalability. Key architectural principles include: - SOLID & DRY: Code follows single responsibility and avoids duplication. - Modular Design: Core infrastructure modules (Config, Common, Database, Logger, Bootstrap, Root) support feature modules (Users, Auth, Refresh Tokens). - Dependency Injection: Used extensively for service decoupling and testing. - Robust Security: Integrated JWT authentication, refresh token lifecycle, role-based access control, and data validation. Environment Configuration The application uses environment variables for configuration, securely managed with validation on startup. Key variables include: - DATABASE URL : PostgreSQL connection string. - SHADOW DATABASE URL : PostgreSQL connection string. - JWT SECRET : Secret key for signing JWTs. - JWT REFRESH SECRET : Secret key for refresh tokens. - NODE ENV : Application environment (development, test, production). Getting St","default_branch":null,"files":null,"tree":[],"storefront":"/r/MkdirRaiden","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MkdirRaiden/credence/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}