Skip to content

fuzdev/fuz_app

Repository files navigation

@fuzdev/fuz_app

fullstack app library 🗝 pre-alpha ⚠️ do not use in production

fuz_app is a fullstack app library for TypeScript, Svelte, SvelteKit, Hono, and PostgreSQL with PGlite for embedded targets. It provides auth, sessions, accounts, database integration, middleware, CLI utilities, and more, the goal being an excellent and flexible whole-stack experience for developers, operators, and end-users.

fuz_app supports deploying with Deno, Node, and Bun, to servers, static websites, and local-first binaries, with more to come, eventually with compatible alternatives written in Rust.

For more see the discussions. fuz_app is part of the Fuz stack (fuz.dev, @fuzdev).

⚠️ This is a pre-alpha release, not ready for production. There are no known security vulnerabilities, and security has been _the_ primary focus for the initial release, but it shouldn't be trusted until audited.

Usage

npm i -D @fuzdev/fuz_app

Some projects using fuz_app are in progress and will be open source soon. Usage currently looks something like this:

import {create_app_backend} from '@fuzdev/fuz_app/server/app_backend.js';
import {create_app_server} from '@fuzdev/fuz_app/server/app_server.js';

const backend = await create_app_backend({...});

const {app} = await create_app_server({backend, ...});

Deno.serve({port: PORT, hostname: HOST}, app.fetch);

See CLAUDE.md for more usage patterns and the AI-generated docs.

License

MIT

About

fullstack app library 🗝

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors