Skip to content

zgroves24/stacklog

Repository files navigation

stacklog

A minimal developer journal for tracking what you learn, one entry at a time.

Built with Next.js 14 (App Router), Supabase (auth + Postgres), and Tailwind CSS.

Features

  • Markdown entries with syntax highlighting and rich rendering
  • Tag system for organizing learnings by topic
  • Full-text search across all entries
  • Auth via Supabase (email, GitHub, Google)
  • Row Level Security so entries are private by default
  • Dark theme with a clean, minimal UI

Getting Started

1. Clone and install

git clone https://github.com/zgroves24/stacklog.git
cd stacklog
npm install

2. Set up Supabase

Create a new Supabase project and run the schema:

# Copy the schema to your Supabase SQL editor and run it
cat supabase/schema.sql

3. Configure environment

cp .env.local.example .env.local
# Add your Supabase URL and anon key

4. Run

npm run dev

Open localhost:3000.

Tech Stack

  • Framework: Next.js 14 (App Router, Server Components, Server Actions)
  • Database: Supabase (PostgreSQL with RLS)
  • Auth: Supabase Auth
  • Styling: Tailwind CSS
  • Markdown: react-markdown
  • Deployment: Vercel

Database Schema

See supabase/schema.sql for the full schema including:

  • Entries table with GIN-indexed tags
  • Row Level Security policies
  • Auto-updating timestamps
  • Tag aggregation function

License

MIT

About

A minimal developer journal for tracking TILs, code snippets, and daily learnings. Built with Next.js 14, Supabase, and Tailwind CSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors