Skip to content

justplainstuff/plainstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9ada6af · Oct 13, 2024
Jul 11, 2024
Oct 12, 2024
Jul 10, 2024
Oct 13, 2024
Oct 13, 2024
Oct 6, 2024
Oct 6, 2024
Jun 21, 2024
Oct 13, 2024
Oct 5, 2024
Oct 12, 2024
Oct 12, 2024
Jul 12, 2024

Repository files navigation

plainstack

Plainstack is a web framework where you start with a single-file. It extends Hono with full-stack concerns like database migrations, background jobs, scheduled jobs, and more.

Features

  • Small API in the spirit of Hono
  • Database migrations
  • Automatic CRUD operations and zod schema for entities
  • Fully typed SQL queries
  • Zod-based form validation
  • Authentication helpers that go well with Hono's OAuth providers
  • Cookie-based session management
  • <Toast /> component for flash messages
  • Background jobs with parallel workers
  • Scheduled jobs to run code at a specific time or interval (cron syntax)
  • JSX client components

Getting Started

Clone the starter repo to get a plainstack app with Tailwind, OAuth and more:

git clone [email protected]:justplainstuff/starter.git
bun dev

or install plainstack manually:

bun install plainstack

Documentation [WIP]

  • Database migrations
  • Create entity
  • Update entity
  • Query entity
  • SQL queries
  • Form validation
  • Sessions
  • Authentication
  • Background jobs
  • Scheduled jobs
  • <Toast />
  • Client Components

Examples

Check out the full list of examples.