@c15t/backend
v2.2.1
Published
Self-hostable consent management backend for c15t with policy resolution, audit logs, geolocation, and storage adapters.
Readme
@c15t/backend: Consent Management Backend
Self-hostable consent management backend for c15t. Powers cookie banners, consent managers, preference centers, policy resolution, audit logs, and consent records.
Key Features
- Self-hosted CMP backend: Run c15t on your own infrastructure with your own database
- Consent Management: Track and manage user consent preferences and consent records
- Geo-Location: Identify a user's location to show relevant consent preferences
- Server-Side Translation: Reduce banner bundle size by translating consent preferences on the server
- Audit Logging: Comprehensive logging of all consent-related actions
- Domain Management: Handle multiple domains and subdomains
- Policy Management: Version and manage consent policies
- IAB TCF 2.3 support: Configure GVL, CMP registration, and custom vendors
Prerequisites
- Node.js 18.17.0 or later
- npm, pnpm, or yarn package manager
Installation
Install the backend package using your preferred package manager Configure your database adapter (supports Drizzle, Kysely, Prisma, TypeORM, and Mongo)
Usage
- Import the backend package in your project
- Configure your database connection
- Use the provided router and schema for consent management
- Implement consent tracking and management in your application
Documentation
For further information, guides, and examples visit the reference documentation.
Hosted or Self-Hosted
Use inth.com when you want a hosted c15t backend with no infrastructure to maintain. Use @c15t/backend when you need full control over hosting, database, CORS origins, policy configuration, audit logs, and deployment topology.
Related Packages
- c15t: Headless JavaScript consent engine
- @c15t/react: React consent UI and headless hooks
- @c15t/nextjs: Next.js App Router and Pages Router integration
- @c15t/node-sdk: Type-safe Node.js API client
Support
- Join our Discord community
- Open an issue on our GitHub repository
- Visit inth.com and use the chat widget
- Contact our support team via email [email protected]
Contributing
- We're open to all community contributions.
- Read our Contribution Guidelines
- Review our Code of Conduct
- Fork the repository
- Create a new branch for your feature
- Submit a pull request
- All contributions, big or small, are welcome and appreciated.
Security
If you believe you have found a security vulnerability in c15t, we encourage you to responsibly disclose this and NOT open a public issue. We will investigate all legitimate reports.
Our preference is that you make use of GitHub's private vulnerability reporting feature to disclose potential security vulnerabilities in our open-source software. To do this, please visit https://github.com/c15t/c15t/security and click the "Report a vulnerability" button.
Security Policy
- Please do not share security vulnerabilities in public forums, issues, or pull requests
- Provide detailed information about the potential vulnerability
- Allow reasonable time for us to address the issue before any public disclosure
- We are committed to addressing security concerns promptly and transparently
License
Built by Inth
