Favicon of Kinto

Kinto

Store, synchronize, and share JSON data efficiently. This minimalist storage service offers robust HTTP endpoints, easy deployment, and flexible configuration.

Kinto is a minimalist JSON storage service designed to make data synchronization and sharing straightforward. Built by Mozilla Services, it provides a lightweight backend for web and mobile applications. You can easily manage your data using its comprehensive set of exposed HTTP endpoints.

Key benefits include:

  • Minimalist Architecture: Focuses on simplicity, making it easy to understand, install, and deploy without unnecessary overhead.
  • Built-in Synchronization: Keeps data consistent across different devices and platforms with native sync capabilities.
  • Flexible Sharing: Allows precise control over data sharing permissions between users.
  • Comprehensive API: Offers exhaustive HTTP endpoints for direct integration into your development workflow.

Whether you are building an offline-first application or need a reliable backend for JSON document storage, Kinto provides the essential tools required for effective data management.

Directory Structure

kinto
kinto-app
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  kinto:
    image: kinto/kinto-server:latest
    ports:
      - "8888:8888"
    depends_on:
      - db
    environment:
      KINTO_STORAGE_BACKEND: kinto.core.storage.postgresql
      KINTO_STORAGE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
      KINTO_CACHE_BACKEND: kinto.core.cache.postgresql
      KINTO_CACHE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
      KINTO_PERMISSION_BACKEND: kinto.core.permission.postgresql
      KINTO_PERMISSION_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
      KINTO_USERID_HMAC_SECRET: ${KINTO_USERID_HMAC_SECRET}
    restart: unless-stopped

  db:
    image: postgres:14-alpine
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    restart: unless-stopped

.env

POSTGRES_USER=kinto
POSTGRES_PASSWORD=secure_password_placeholder
POSTGRES_DB=kinto
KINTO_USERID_HMAC_SECRET=your_long_random_secret_string_here

Share:

Ad
Favicon

 

  
 

Similar to Kinto

Favicon

 

  
  
Favicon

 

  
  
Favicon