Magicword

Next.js PWA Template

A production-ready Progressive Web App template built with Next.js, featuring AI capabilities, authentication, and offline support.

Features
  • Progressive Web App with offline support
  • Next.js 15 with App Router
  • Authentication with NextAuth.js
  • AI features with Vercel AI SDK
  • Drizzle ORM with PostgreSQL
  • Tailwind CSS and Shadcn UI components
  • TypeScript
  • Responsive design
Getting Started

Prerequisites

  • Node.js 20 or later
  • Bun package manager
  • PostgreSQL database

Installation

bun create magicword-app my-pwa-app --template nextjs-pwa
cd my-pwa-app
bun install

Configuration

Copy the .env.example file to .env and fill in your environment variables:

cp .env.example .env

Development

bun dev