rohanray / elysia-kickstart

ElysiaJS boilerplate with HTMX, Tailwind, Auth.js, Drizzle, CI. Deploy in one click to Railway or Vercel Edge Functions

Home Page:https://elysia-kickstart.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elysia-kickstart

Feature packed ElysiaJS boilerplate. Edge ready. Deploy with one click.

Taken inspiration from https://github.com/ethanniser/the-beth-stack.

πŸ“š Features

Core

  • πŸ—οΈ TypeScript - Configured to maximize type safety
  • πŸ‰ ElysiaJS - Fast and Bun friendly server framework
  • πŸ“ HTMX - High power tools for HTML
  • πŸ’½ Drizzle - ORM with maximal type safety
  • πŸ”’ Auth.js - Flexible and secure authentication
    • πŸ”— integrates with Drizzle to store auth data

Development

Deployment

  • 🐳 Docker - (local and production) Docker-compose and Dockerfiles for running anywhere
  • πŸ”„ GitHub Actions - Robust CI/CD

🌱 Getting started

πŸš€ Option 1: Clone and deploy

  • To Railway (deployed with Docker)

    Deploy on Railway

  • To Vercel Edge Functions (see the Railway template for required environment variables, as well as RUNTIME=edge)

    Vercel

πŸ“‹ Option 2: Clone and run locally

  1. Fork this repository (uncheck 'Copy the main branch only` if you are interested in other branches / feature sets)
  2. Clone your new repository
  3. Install dependencies and run the development server
  • with bun

    bun install
    bun run dev
  • or with Docker

    docker-compose --file docker/dev/docker-compose.yml up

βš™οΈ Configuration

About

ElysiaJS boilerplate with HTMX, Tailwind, Auth.js, Drizzle, CI. Deploy in one click to Railway or Vercel Edge Functions

https://elysia-kickstart.vercel.app


Languages

Language:TypeScript 82.5%Language:CSS 7.3%Language:Dockerfile 7.1%Language:JavaScript 3.0%