nthnluu / bruno-ventures

Home Page:bruno-ventures-theta.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐻 Bruno Ventures

Tailwind CSS, Next.js, Firebase

Getting Started

Install dependencies:

yarn install

Set up Firebase by creating a .env file based on the contents of example.env and adding your Firebase project credentials.

Run the development server:

yarn dev

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

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

Using the Firebase SDK

To access the Firebase SDK, you need to use an initialized instance of the Firebase app. To do so, use firebaseApp (exported from util/firebaseApp.ts).

After importing firebaseApp, you can use this to access the Firebase SDK.

Firebase Auth

To access Firebase Authentication from anywhere within the app, use the custom useAuth() hook.

const {isAuthenticated, isLoading, user} = useAuth();

Deployment

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

About

bruno-ventures-theta.vercel.app


Languages

Language:TypeScript 70.7%Language:CSS 21.2%Language:Shell 4.0%Language:JavaScript 4.0%