Skip to content

dominikjasek/city-hunter

Repository files navigation

City Hunter App

App for experimenting with Next.js + tRPC + Edge Functions + PlanetScale DB serverless driver + Clerk Authentication

Database

Api

  • Rest is cool, but lacking type support
  • GraphQL is cool with great type support, but there is a lot of boilerplate and other technical challenges like N+1 problem
  • tRPC is amazing alternative taking best of both worlds. I am using it within Next.js api

Serverless

  • I am using Edge functions for serverless solution, because AWS Lambda has cold starts

Messaging

  • I am using Upstash Qstash for asynchronnous work and Kafka for messaging

Monitoring

  • Sentry for logging errors
  • Vercel Analytics for web analytics
  • Axiom for data querying and web traffic

Authentication

  • Clerk is nice alternative to Auth0 and works on Edge (Auth0 doesn't 😅🙈)

Development

For testing locally on phone, I can use Cloudflared tunnels:

cloudflared tunnel --url http://localhost:3400

About

Do you know your city?

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published