Getting Started (v1)

April 15, 2025

Deprecated Feature

@c15t/backend v1 did not deliver the flexibility we wanted and fell short of our standards. It is now deprecated as we work on a full rewrite, with v2 entering canary soon. This does not affect consent.io deployments, which remain stable.

Welcome to c15t Backend! This guide will help you get started with the consent management system.

Installation

Install the package using your preferred package manager:

Basic Usage

Create an instance of c15t:

For more details on instance configuration, see Core Concepts.

Configuration

Basic Options

With Plugins

Learn more about plugins in the Plugin System documentation.

Database Setup

Memory Adapter (Development)

Kysely Adapter (Production)

For more database options and configuration, see Database Adapters.

Handling Requests

Learn more about request handling in Core Concepts.

Next Steps

  1. Learn about Core Concepts to understand the system architecture
  2. Explore Database Adapters for different storage options
  3. Check out the Plugin System for extensibility
  4. Review the request handling examples above for available functionality

Common Issues

Database Connection Issues

If you're having trouble connecting to the database:

  1. Check your connection string
  2. Verify database credentials
  3. Ensure the database is running
  4. Review Database Adapters for more details

Authentication Problems

For authentication issues:

  1. Verify your JWT secret
  2. Check token expiration
  3. Review plugin configuration in the Plugin System documentation

Plugin Loading

If plugins aren't loading:

  1. Check plugin dependencies
  2. Verify plugin order
  3. Review Plugin System documentation