Fable Factory

What's Fable Factory

Fable Factory is a web application that generates stories for children. You can choose the characters' names, the type, the place, and a few more criteria to generate a story. Then the story will be generated instantly, and you can read it to your children.

Why

I've been building Fable Factory to create some stories for my daughter before she goes to sleep (but mostly because I love to build things).

How

  • App: Next.js 13 hosted on Vercel with server actions and edge functions.
  • AI: OpenAI API with the Vercel AI-SDK to consume the API.
  • Database: For the database, I'm using Prisma with a Postgres database hosted on AWS RDS.
  • Payment: Stripe integration.
  • Auth: NextAuth.js. I've integrated Google and Facebook login, along with a magic link using SendGrid.