MCPcopy Index your code
hub / github.com/Chensokheng/next-firebase-boilerplate

github.com/Chensokheng/next-firebase-boilerplate @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
18 symbols 38 edges 11 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

What you will learn

  • [x] Set up firebase
  • [x] authentication and context provider
  • [x] protected Routes
  • [x] Upgrade firebase from v8 to v9
  • [x] Default Layout
  • [ ] save the user to FireStore

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Core symbols most depended-on inside this repo

useAuth
called by 4
src/hook/auth.js
waitForUser
called by 1
src/service/AuthService.js
loginWithGoogle
called by 1
src/service/AuthService.js
logout
called by 1
src/service/AuthService.js
withPublic
called by 1
src/hook/route.js
withProtected
called by 1
src/hook/route.js
MyApp
called by 0
pages/_app.js
Home
called by 0
pages/index.js

Shape

Function 12
Method 4
Class 2

Languages

TypeScript100%

Modules by API surface

src/service/AuthService.js6 symbols
src/hook/auth.js4 symbols
src/hook/route.js2 symbols
src/layout/AuthStateChanged.js1 symbols
src/layout/AppLayout.js1 symbols
pages/login.js1 symbols
pages/index.js1 symbols
pages/admin.js1 symbols
pages/_app.js1 symbols

For agents

$ claude mcp add next-firebase-boilerplate \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact