Giter Site home page Giter Site logo

guild.xyz's Introduction

Guild.xyz interface

Open source interface for Guild.xyz -- a tool for platformless membership management.

Key dependencies overview

  • Framework
    • React with Next.js
  • Styling:
    • Chakra UI
    • Phosphor icons
    • Framer motion
  • State management:
    • SWR for fetching and caching
    • React Hook Form for form state
  • Web3 stuff:
    • ethers.js
    • web3-react for connection management
  • Deployment:
    • Vercel
  • Monitoring:
    • Datadog

Development

Running the interface locally

  1. npm i
  2. npm run dev

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

For Windows users

If you encounter the error ERR_OSSL_EVP_UNSUPPORTED you can do :

export NODE_OPTIONS=--openssl-legacy-provider
npm i --force
npm run dev

Getting secret environment variables (for core team members):

  1. Get added to the team on Vercel
  2. npm i vercel@latest -g
  3. vercel link
  4. vercel env pull .env.local

Code guidelines

  • Always use design system values for styling when possible
  • Follow the file naming and folder structure pattern of the repository

Committing

  • Use Conventional Commits when applicable (recommended but not required)
  • Always use present tense in commit messages
  • Always review your changes before committing
  • A pre-commit hook type checks the code base. If it fails but you want to commit a WIP anyway use --no-verify

PR flow

  • Always create a draft PR right away when starting to work on a new branch
  • Vercel creates a unique link for each commit and each branch (showing the latest version of the branch), which you can get from the deployment page. Share the branch link with the team if needed
  • Always self-review changes in your PR before asking others. Refactor, clean up and add comments if needed. Repeat until there's no room for improvement that you see, or you've left a comment where there is
  • If you consider it ready, mark it as ready for review and ask for a review, or merge it by yourself if you have the permission

guild.xyz's People

Contributors

brickheadjohnny avatar dovalid avatar cs-balazs avatar kovjonas avatar kef1rke avatar snyk-bot avatar d3vl0per avatar balintligeti avatar ejayxyz avatar liszper avatar devidxyz avatar rex4539 avatar tchataigner 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.