Skip to content
forked from enesien/venefish

Boilerplate & template for Next.js project deployable on Vercel. Firebase, shadcn/ui and Tailwind.

Notifications You must be signed in to change notification settings

VytasKan/venefish

 
 

Repository files navigation

Venefish 🐟

Boilerplate for React TypeScript projects using Next.js, shadcn/ui, Tailwind and Firebase on Vercel!

Now using Next.js app router!

This stack is 🔥 because projects can be built and deployed for free until you get to higher tiers within Vercel/Firebase which only happens once you get lots of DAUs.

  • Vercel for cloud and automated deployments
  • Next.js for better React
  • Firebase for auth and database (Firestore)
  • Shadcn and Tailwind for UI/styling

Let me know if you have any questions! Godspeed.

Setup

  1. Make sure your Firebase project has authentication added
  2. Get your public Firebase config and paste it into components\firebase-providers.tsx
  3. npm i and npm run dev

The following is only needed if you want to use firebase/admin (not part of this project by default)

  1. Create a new file at the root level called .env.local
  2. Define a new variable there called FIREBASE_ADMIN_SDK
  3. Get your Firebase service account private key and stringify it then set the above variable to that string

    e.g.: FIREBASE_ADMIN_SDK={"type":"service_account","project_id":"sleeptoken",...}

Notes

  • You can use api/test.ts to stringify your private key so you can use in in the environment
  • You need to define the same FIREBASE_ADMIN_SDK environment variable in Vercel

Created by ⬡ Enesien Software

About

Boilerplate & template for Next.js project deployable on Vercel. Firebase, shadcn/ui and Tailwind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.0%
  • CSS 1.8%
  • JavaScript 0.2%