Skip to content

fyndx/universal-starter

Repository files navigation

Universal Starter (Expo + Elysia)

A full-stack universal starter template with Bun workspaces featuring:

  • Frontend: Universal Expo app (iOS, Android, Web)
  • Backend: Elysia server with Bun runtime

Stack

Frontend

Backend

  • Elysia - TypeScript HTTP framework
  • Bun - JavaScript runtime & toolchain

Project Structure

.
├── apps/
│   ├── expo/           # Universal Expo app
│   └── server/         # Elysia backend
├── packages/           # Shared packages
└── package.json        # Workspace root

Getting Started

Prerequisites

Installation

# Clone the repo
git clone https://github.com/fyndx/universal-starter.git

# Install dependencies
bun install

# Start development
bun dev

Development Commands

# Start both frontend and backend
bun dev

# Start frontend only
bun workspace expo dev

# Start backend only
bun workspace server dev

# Build for production
bun build

Mobile Development

# iOS
bun workspace expo ios

# Android
bun workspace expo android

Monorepo Inspiration

  1. https://github.com/nktnet1/rt-stack

Docker Compose Running

docker compose -f docker/docker-compose.dev.yml up --build

Production

docker compose -f docker/docker-compose.prod.yml up --build -d

License

MIT

Releases

No releases published

Packages