Code Monkey home page Code Monkey logo

venefish's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.