Project 04 / 09

DevDiscuss

A Q&A forum for developers, built back-end first.

DevDiscuss is a place to post a bug, get answers and vote on the best one, a small Stack Overflow of my own.

The UI is simple on purpose. The interesting work is underneath: the schema, the search and the queries that keep it quick as it grows.

full-text search
Postgres
full-text search
typed with Drizzle
100%
typed with Drizzle
core tables
6
core tables
DevDiscuss screenshot

01

Search that's actually fast

Questions are indexed with Postgres full-text search, a tsvector column with a GIN index, so searching titles and bodies stays quick even with thousands of posts.

DevDiscuss: Search that's actually fast

02

What's trending

A ranking mixes votes, number of answers and age, so active threads rise and stale ones sink. Tags, filters and pagination keep long lists easy to move through.

DevDiscuss: What's trending

03

People, not just posts

Profiles show what you've asked and answered, and you can follow people whose answers you trust. Everything from the database to the API is typed end to end with Drizzle.