Code Monkey home page Code Monkey logo

gvo_workshop_ix's Introduction

DAPP Base

A boilerplate for Dapp prototyping and a scalable project baseline

Optimized heavily for Developer UX

  • Typescript
  • React.js
  • Next.js
  • ThemeUI.js
  • Axios.js
  • Ethers.js
  • Onboard.js
  • SWR.js
  • Recharts.js
  • Animate.css
  • Dead simple useReducer (redux-lite) based state managment
  • 404 Fallback
  • Scalable themeing pattern (see buttons.ts)
  • SVG magic import (use "current" as values for props in SVG file to inherit from React)

Inspiration

So you wanna move fast and build great things that can handle scaling? Well its possible, you just need the right tools and a minimal surface area of concerns.

A lot of the complexity of frontend comes with managing patterns. It may be a fine pattern but its up to you to enforce it. With this boilerplate, you can follow simple patterns for themeing, state managment, html blocks, and data fetching who's API's are flexible but not overbearing and don't require you (or barely if they do) to maintain a mental model of the patterns. It is designed to be copy-paste friendly so that you don't need to know much at all, just keep the pattern you see, virtually no learning up front required. Simplicity is key.

Needs

Want to have seperate state objects, not one massive global? Easy! Make a reducer and feed it to a state object.

Want to drop in a whole new theme? Copy paste a ThemeUI json object from a bunch of resources.

Want to autofetch data onload and keep polling for changes? Already done, see _app.tsx.

Want to login with a web3 wallet? Already done via Onboard.js

Enjoy!

gvo_workshop_ix's People

Contributors

jeffscottward 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.