Skip to content

rada-network/nft4charity

Repository files navigation

Description

NFT4Charity is an open sourced blockchain project to help make Charity Campaigns BETTER.

Our immediate goal is the raise $1M for Covid campaigns in Vietnam. Our long term goal is to demonstrate how blockchain can make the world more transparent and open and kind.

Recently, we have seen inexperienced fundraisers who, despite their good intent, lose their reputation and in some case, being sued for fraud. With Blockchain & NFT, we can track all transactions and also make charitable campaigns more community-driven. We want to create an open source project that any one can run to raise money for their community in a Transparent way.

Join us by filling out this form

https://bit.ly/rada-charity-team

Installation

Go to backend folder and run

$yarn install

Structure

Project is structure into 4 parts:

  1. frontend (FE)
  2. backend (BE)
  3. smart contract (SC)
  4. cronjob worker (CW)

Style checks

We use Prettier and ESLint to enforce a consistent code style across our codebase. For simply, let's use Prettier for formatting and Linter for catching bugs within the code. Make sure to run this first from root folder

yarn install
# Run style check across all the source
yarn format:check:all

# Apply the rules
yarn format:all

Running by docker-compose

# From root folder run
run_local.sh

To run local, we need to have .env file

Update .env.dev file in backend folder, make sure to have values for SENDGRID_API_KEY and SENTRY_DSN

Setup the memory of you docker machine to 4GB (like image below).

Docker

After that we should see the entired running stack as below NFT4C Stack

Others

Install metamask

  1. Install chrome extension from https://metamask.io/
  2. Generate a new wallet.
  3. Switch to Goerli testnet.
  4. Get some ETH from faucet.

Screen Shot 2021-10-24 at 22 03 38