https://www.youtube.com/watch?v=JIIy7VkiTqU
- Checkout to email branch to see this implementation.
https://www.youtube.com/watch?v=2sHsP_8YLHA&t=1s
- Next 14
- Lucia Auth Package
- Postgre SQL
- Drizzle ORM
- Typescript
- Tailwind CSS
- Shadcn UI
install the package using npm or yarn
npm install
or
yarn
npm run dev
or
yarn dev
or you can use Docker-compose
docker-compose up
It will start the server on http://localhost:3000 and create a local postgres database on port 5432
## Database You can create a local postgres database and add the credentials to the .env file
docker run --name postgres -e POSTGRES_PASSWORD=password -e POSTGRES_USER=username -e POSTGRES_DB=dbname -p 5432:5432 -d postgres
DATABASE_URL=postgres://username:password@localhost:5432/dbname