Git Product home page Git Product logo

buidlguidl-v3's Introduction

BuidlGuidl v3

The ๐Ÿฐ BuidlGuidl is a curated group of Ethereum builders creating products, prototypes, and tutorials with ๐Ÿ— scaffold-eth

BuidlGuidl v3 homepage

Prerequisites

Node (v16 LTS) plus Yarn.

Every package in this monorepo (backend, hardhat, react-app) comes with a .sample.env file. The one inside packages/backend is the only one required to set up (copy it to packages/backend/.env). All the others work out of the box.

If you want to connect to a local firebase instance:

  • Install the firebase CLI
  • Set FIRESTORE_EMULATOR_HOST=localhost:8080 in packages/backend/.env
  • Seed the local firebase: Copy packages/backend/local_database/seed.sample.json to packages/backend/local_database/seed.json and tweak it as you need. You can always clean up the data in the Firestore UI and re-import by stopping & running yarn backend again.

If you want to connect to your live firebase instance:

  • Donwload the serviceAccountKey.json file from the Firebase UI
  • Comment out the FIRESTORE_EMULATOR_HOST env var.
  • Set GOOGLE_APPLICATION_CREDENTIALS to the correct path to your serviceAccountKey.json

Project setup

Install dependencies:

yarn install

(Optional) Start the firebase emulators (vs set up a live Firebase instance)

# You might need to add a real "--project <projectName>" (run firebase projects:list)
firebase emulators:start

Start the backend service:

yarn backend

In a new terminal, start the frontend:

yarn start

At this point, the APP should be available at http://localhost:3000.

buidlguidl-v3's People

Contributors

carletex avatar dgrcode avatar dependabot[bot] avatar viraj124 avatar mikery avatar hexedout 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.