Skip to content

vicinaehq/backend

Repository files navigation

Vicinae Backend

Backend for the Vicinae extension store.

Currently hosted by @aurelleb on a hetzner VPS.

Architecture

The architecture of this service is very simple on purpose.

  • Hono to serve web requests
  • Prisma + sqlite to maintain the list of available extensions in database
  • Assets and extension code stored on the local filesystem (could be easily moved to an actual object storage service if needed)

Vicinae integration

The Vicinae extension store command makes requests to this backend service to retrieve extension-related content.

Vicinae does not contact the service outside of this command.

Development

Install dependencies:

bun install

Set up environment variables:

cp .env.example .env
# Edit .env and set your API_SECRET and other configuration

Set up database:

# Generate Prisma client
bun prisma generate

# Run migrations
bun prisma migrate dev

Run development server:

bun run dev

About

Source code for the vicinae store infrastructure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published