JSPM

  • Created
  • Published
  • Downloads 3022
  • Score
    100M100P100Q118801F
  • License GPL-3.0-only

Consent policy engine and API for c15t. Powers the cookie banner, consent manager, and preferences centre. Webhooks, audit logs, storage adapters. Self host or use consent.io

Package Exports

  • @c15t/backend
  • @c15t/backend/contracts
  • @c15t/backend/pkgs/data-model
  • @c15t/backend/pkgs/data-model/fields
  • @c15t/backend/pkgs/data-model/schema
  • @c15t/backend/pkgs/db-adapters
  • @c15t/backend/pkgs/db-adapters/adapters/drizzle-adapter
  • @c15t/backend/pkgs/db-adapters/adapters/kysely-adapter
  • @c15t/backend/pkgs/db-adapters/adapters/memory-adapter
  • @c15t/backend/pkgs/db-adapters/adapters/prisma-adapter
  • @c15t/backend/pkgs/migrations
  • @c15t/backend/pkgs/results
  • @c15t/backend/pkgs/types
  • @c15t/backend/router
  • @c15t/backend/schema
  • @c15t/backend/v2
  • @c15t/backend/v2/contracts
  • @c15t/backend/v2/db/adapters
  • @c15t/backend/v2/db/adapters/drizzle
  • @c15t/backend/v2/db/adapters/kysely
  • @c15t/backend/v2/db/adapters/mongo
  • @c15t/backend/v2/db/adapters/prisma
  • @c15t/backend/v2/db/adapters/typeorm
  • @c15t/backend/v2/db/migrator
  • @c15t/backend/v2/db/schema
  • @c15t/backend/v2/define-config
  • @c15t/backend/v2/router
  • @c15t/backend/v2/types

Readme

c15t Banner

@c15t/backend: Consent Management Backend

GitHub stars CI License Discord npm version Top Language Last Commit Open Issues

Consent policy engine and API for c15t. Powers the cookie banner, consent manager, and preferences centre. Webhooks, audit logs, storage adapters. Self host or use consent.io

Key Features

  • Consent Management: Track and manage user consent preferences
  • Geo-Location: Identify 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

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

  1. Import the backend package in your project
  2. Configure your database connection
  3. Use the provided router and schema for consent management
  4. Implement consent tracking and management in your application

Documentation

For further information, guides, and examples visit the reference documentation.

Support

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

GNU General Public License v3.0


Built with ❤️ by the consent.io team