- Next.js
- Chakra UI (includes @emotion/styled, which works like Styled Components)
- Web3React
- Web3 Modal
- Ethers
- Typescript
- Linting with ESLint
- Formatting with Prettier
- Linting, typechecking and formatting on by default using
husky
for commit hooks - Testing with Jest and
react-testing-library
- POAP Subgraph to get the number of POAP claimed
- Moralis to track onchain transactions (not used yet)
yarn dev
Currently only POAP codes are stored in a PostgreSQL database.
Database setup is not required in order to run the app.
Setup and connection to database are done via Knex.js.
Ask @didierkrux for the configs to add to your .env.local file (see .env.example).
Migration files: https://github.com/BanklessDAO/bankless-academy/tree/main/migrations
# Install Migration CLI
yarn global add knex
# Migrate to latest
knex migrate:latest
# Rollback the last batch of migrations
knex migrate:rollback
Documentation + data tracked: https://www.notion.so/bankless/Analytics-with-Umami-4f867b3c808e483790db7db617cc51b6
Heatmap recording via hotjar.com
https://www.notion.so/bankless/1dd77eb6ed4147f6bdfd6f23a30baa46
yarn import-content
yarn import-content 1dd77eb6ed4147f6bdfd6f23a30baa46
The import script connects to a custom unofficial Notion API called Potion https://github.com/didierkrux/potion and transforms the content into this Object.
Note: import keywords before importing content.
https://www.notion.so/bankless/623e965e4f10456094d17aa94ec37105
yarn import-keywords
yarn import-keywords 623e965e4f10456094d17aa94ec37105
If your POAP event id is 6454
, rename links.txt
to 6454.txt
, move it into the /poaps/
folder, then run the following command to automatically import all the *.txt
files:
yarn import-poaps
- Get familiar with the project
- Check open issues and assign yourself
- Create and submit a PR
- Assign @didierkrux as reviewers