Skip to content

Darkness-2/realworld-approuter-trpc

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Stack

  1. Next.js (using app router)
  2. tRPC
    • superjson as transformer
    • zod as validator
  3. Drizzle
    • cuid2 for ids
  4. Neon Postgres
    • Neon serverless driver
  5. Lucia auth
  6. neverthrow
  7. Chakra-ui
  8. Cypress
  9. t3-env
  10. ts-reset
  11. react-hook-form
  12. server-only

To-do

  1. Figure out state management / storing user on the client
  2. Move all logging functions to separate env vars (tRPC, Drizzle, Lucia)
  3. Consider CVA?
  4. Add neverthrow
  5. Add error / loading / not-found pages
  6. Self-host

Requirements

  • Authenticate users via JWT (login/signup pages + logout button on settings page)
  • CRU- users (sign up & settings page - no deleting required)
  • CRUD Articles
  • CR-D Comments on articles (no updating required)
  • GET and display paginated lists of articles
  • Favorite articles
  • Follow other users

Added requirements

  • Rate limiting

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published