Skip to content

ivaresaki/first

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

first — Next.js 16 + Firebase Auth

CI Integration Tests

A Next.js 16 learning project with Firebase Authentication, Tailwind CSS v4, and a full Vitest test suite.

Features

  • /login — email/password login with Firebase Auth, remember me, and password visibility toggle
  • Vitest unit, hook, and component tests
  • Firebase Auth emulator for integration tests

Getting started

Copy the environment file and fill in your Firebase project values:

cp .env.local.example .env.local   # then edit with your Firebase config
pnpm install
pnpm dev

Open http://localhost:3000/login.

Commands

Command Description
pnpm dev Start dev server (Turbopack)
pnpm build Production build
pnpm lint Run ESLint
pnpm test:run Run unit/hook/component tests (44 tests)
pnpm test Run tests in watch mode
pnpm test:integration Run Firebase emulator integration tests

Integration tests

Requires the Firebase CLI and Java 17+.

firebase emulators:start --only auth   # in one terminal
pnpm test:integration                  # in another

About

nextjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors