This is a project for showing off how to work with auth in Next.js 13 and Firebase. ๐
- Node version >= 18.0.0 ๐ฆ
- Copy
.env.template
to.env
and fill in the values ๐
- Conventional Commits ๐
- Gitmoji ๐จ
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result. ๐
- Password Encryption ๐
- JWT ๐
This project uses Firebase for authentication and database. You can create a new project on Firebase and fill in the values in the .env
file.
All fields are required and must be filled as a string:
email: "an_email"
id: "uuid"
name: "your_name"
password: "$2b$10$ECvSuVcvZOwpHj1ToFTReO05wXhfJtzsbM3GXwYUc4q3Q9Ow6VdkO" (admin)
role: "admin|user"
username: "your_username"
All fields are required and must be filled as a string:
title: "a_title"
description: "a_description"
url: "a_url"
This project uses cypress to do the e2e tests.
To launch the tests:
npm run start
npm run cy:open
- Material Tailwind UI ๐จ
- Next.js Documentation ๐
- Firebase ๐ฅ
- Tailwind CSS ๐
- Tailwind UI ๐จ