DAO: BLOCKSURANCE DAO is live on Snapshot!
Read the docs: BLOCKSURANCE uses Gitbook!
Note: BLOCKSURANCE uses Web3.
This repo contains the BLOCKSURANCE dApp that is built with React, and Web3: Website Link.
It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.
- A simple landing page built with styled-components
- Landing, About, FAQ, and Contact page built with Chakra UI
- Basic directory organization
- Separate components for everything
- Core dApp built with React and Web3
- Netlify deploy configuration
- Netlify function support, see
netlify/functions
folder - ..and more
- Minimal Node.js version 14.15.0
- Netlify CLI
Pulldown a local copy of the Github repository Netlify created for you, with the name you specified in the previous step
$ git clone https://github.com/blocksurance-dao/blocksurance.git
$ cd blocksurance
$ yarn
$ yarn start
or
$ npm install
$ npm start
This uses Netlify Dev CLI feature to serve any functions you have in the netlify/functions
folder.
Windows users, who aren't using WSL, might encounter node-gyp
errors when trying to npm install.
To resolve, make sure that you have both Python 2.7 and the Visual C++ build environment installed.
npm config set python python2.7
npm install --global --production windows-build-tools
MacOS and WSL users who might also encounter some errors, check node-gyp for more info. We recommend using the latest stable node version.
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.