Kazte / tasks-fullstack-prisma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tasks.

This is a Next.js task/todo fullstack project using NextAuth, DaisyUI and PostgreSQL

Getting Started

Complete the .env with the following variables:

# only for development purpose
DATABASE_URL="postgresql://kazte:V93xiyJYzP5HUYYF5@localhost:5433/tasks_db?schema=public"

# whatever port you use
NEXTAUTH_URL="http://localhost:3000"

NEXTAUTH_SECRET="ANY-SECRET-RANDOM-SUPERSECRET-WORD"

Build up the docker PostgreSQL server

docker compose up

Initialize the dev server

I prefer yarn but you can use whatever you want 👨🏻‍💻

yarn install

yarn migrate

yarn dev

Open http://localhost:3000 with your browser to see the result.

About


Languages

Language:TypeScript 99.3%Language:JavaScript 0.6%Language:CSS 0.2%