Skip to content

Quanosek/Blog

Repository files navigation

Blog

pnpm nodejs react nextjs typescript sass prisma postgres

Fullstack blog application created using Next.js v14 framework with connection to PostgreSQL Database using Prisma for user login/register server account authentication.

  • Using Next.js framework with App Router ( /app )
  • Build by pnpm package manager

At first run:

Create new .env file and fill it in according to example template.


Install all packages and required dependencies:

pnpm install

generate new prisma client:

npx prisma generate

migrate prisma database:

npx prisma migrate dev

run whole project as dev:

pnpm dev

in every change in database and prisma scheme run:

pnpm exec prisma db push

Features:

  • dynamically updating database content in real time
  • register and login forms with client and server validation
  • toast responsive prompts
  • adding, editing and deleting posts on blog page with saving to database
  • dedicated profile page for changing password, deleting account or log out from session
  • view of all of user posts and comments

Support:

quanosek

About

Fullstack Blog with Database Authentication using Auth.js and Prisma

Topics

Resources

License

Stars

Watchers

Forks