Skip to content

CodeForStartup/turborepo-nextjs-prisma-postgres

Repository files navigation

TOPLIST

About TOPLIST

Installation

Install

turbo install

In the apps/web folder, copy the env.example to env.local and enter the environment values

In the packages/database, copy the env.example to .env and enter the DATABASE_URL

Migration

db:migrate

Start

turbo dev

Libraries

🤖 ReactJS
🎯 TypeScript
💫 NextJS 14 - App router and server actions
🤗 Prisma
🎰 React Form Hook
🎭 Postgres
🖋 Zod validation
🎯 TailwindCSS
🚀 Turborepo
💒 Tiptap
🍾 react-textarea-autosize
👽 Prettier 💥 Husky
🔥 shadcn
💌 next-themes
🐠 lucide-react icon
🐧 next-auth
🐴 dayjs
🐢 react-toastify

Functions

  • Register by email or github
  • Login by email, github or magic link
  • User logout
  • Verify email
  • Forgot password
  • CRUD post
  • List post: Search & filter by top or hot week, month, year, infinity
  • Like post
  • Comment on post
  • Share post
  • Manage tag
  • Follow user
  • Multiple theme & dark mode or light mode
  • Multiple language
  • Follow tag
  • Manage user profile
  • Multiple type: post/question

DEV NOTES

[1][DEV NOTE] Initial turbo project and add tailwindcss library
[2][DEV NOTE] Integrate prisma and postgres database
[3][DEV NOTE] Create a form with tiptap and react-textarea-autosize