This is a Next.js starter kit that uses Next-Auth for simple email + password login
Prisma as the ORM, and a docker based Postgres database to persist the data.
Contributions and suggestions are welcome.
# Clone this repo then
npm install
# or
yarn install
First start docker compose. You would need to have docker installed on your local pc.
docker compose up -d
# or
docker-compose up -d
# this depends on your version of docker and docker compose
-- Copy and paste .env.example to .env
Second, run the development server:
# Run
npx prisma db push
# then
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.