Skip to content

Next.js todo list application with optimistic UI deployed on Vercel

Notifications You must be signed in to change notification settings

doktor500/todos-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Install pnpm

Create a .env file with the following values

DATABASE_URL=postgresql://postgres:password@localhost:5432/todos_db
AUTH_SECRET_KEY=<an auth secret key>
ENCRYPTION_SALT=<an encryption sault>

An encryption salt can be created using await bcrypt.genSalt()

Start database with docker compose:

docker-compose up -d

Generate database schema:

pnpm run db:generate

Execute database migrations:

pnpm run db:migrate

Run the development server:

pnpm dev

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

Todos App

About

Next.js todo list application with optimistic UI deployed on Vercel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published