This is a Next.js project bootstrapped with create-next-app.
- install docker
- pull down the postgres docker image:
docker pull postgres - run postgres:
docker run --name chance -e POSTGRES_PASSWORD=chance -d -p 5434:5432 postgres - setup .env:
DATABASE_URL=postgres://postgres:chance@localhost:5434/postgres - run drizzle migrations:
npx drizzle-kit migrate - run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.