GithubHelp home page GithubHelp logo

astrra / humara-ghar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ayush0402/humara-ghar

0.0 0.0 0.0 3.71 MB

JavaScript 0.55% TypeScript 95.75% CSS 0.70% PLpgSQL 1.99% Jupyter Notebook 0.46% Python 0.54%

humara-ghar's Introduction

Built with nextjs, tailwindcss, supabase, and love โ™ฅ.


If you wish to just develop follow the steps below.

Clone and run locally

  1. You'll first need a Supabase project which can be made via the Supabase dashboard

Dev Environment Setup

Install Dependencies

  • Run npm i to install dependencies for your project.

Supabase Login in Terminal

  • If you haven't used Supabase in your terminal before, log in by creating an access token here.
  • Copy the access token generated.
  • Run npx supabase login in your terminal.
  • When prompted for an access token, paste the token you copied earlier to log in.

Linking Your Project to Supabase

  • Run npx supabase link --project-ref {projectRef} in your terminal.
    • Your project reference is available in the project settings section within the Supabase dashboard.
  • After running the command, you'll be prompted for the database password you saved earlier. Enter it to complete the linking process.

Pushing Migration Files to Supabase Project

  • Execute npx supabase db push . in your terminal.
  • This command will push all necessary configurations (teams, admin panel, projects, etc.) into your Supabase project.
  • Your Supabase project will now be ready for use.
  1. Rename .env.local.example to .env.local and update the following:

    NEXT_PUBLIC_SUPABASE_URL=[INSERT SUPABASE PROJECT URL]
    NEXT_PUBLIC_SUPABASE_ANON_KEY=[INSERT SUPABASE PROJECT API ANON KEY]
    

    Both NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY can be found in your Supabase project's API settings

  2. You can now run the Next.js local development server:

    npm run dev

humara-ghar's People

Contributors

ayush0402 avatar astrra avatar

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.