Introduction

Spica is an open-source backend development engine that gives you data APIs, cloud functions, identity and access management, storage and an admin panel out of the box.

Spica removes the repetitive parts of backend development. You describe your data, write the business logic that is unique to your product, and Spica takes care of the rest: REST, GraphQL and realtime APIs, authentication, authorization, file storage, background jobs and a back office for your team.

It is free, open source (AGPL-3.0) and runs anywhere Docker runs, on MongoDB or PostgreSQL.

What you get

Two ways to use Spica

As a backend engine

  1. Model your data in buckets. The REST API is generated immediately.
  2. Protect the data with bucket rules and policies.
  3. Add sign-up and login for your end users with Passport users.
  4. Put your business logic into functions and react to data changes with triggers.
  5. Give your business team dashboards and the admin panel.

As a headless CMS

  1. Model your content types in buckets and turn on translations for localized fields.
  2. Create identities for your editors and give them policies that only expose content.
  3. Let editors manage entries, images and files in the panel.
  4. Serve published content to your site through the data API with an API key or user tokens.
  5. Notify other systems with webhooks and automate publishing with functions.

How the docs are organized

SectionRead it when you want to
Get startedRun Spica for the first time, learn the vocabulary and connect AI agents.
BuildUse the API: buckets, functions, authentication, storage and the platform modules.
PanelLearn your way around the admin panel.
CLIRun local projects and manage resources as code.
DevkitCall Spica from functions, browsers, Node.js services and tests.
Self-hostingDeploy and operate Spica with Docker or Kubernetes.
RecipesFollow end-to-end scenarios that combine several features.