/BlockFund

A blockchain based crowdfunding platform using ethereum, solidity, react.js, node.js, express, mongodb

Primary LanguageTypeScript

BlockFund Logo

BlockFund💸

A Blockchain based crowdfunding application using solidity, truffle and nodejs.


📝 Table of Contents


🏁 Getting Started

BlockFund web application uses node.js along with the express.js framework to develop the server and mongoDB as database and mongoose as object data modeling library. For the frontend aspect we have used React. For the blockchain aspect, we have used the ethereum blockchain to deploy the smart contracts and web3.js library to interact with the ethereum node and the frontend. We have used Ganache and Truffle for creating a remote Blockchain environment.

Prerequisites

The following dependencies need to be installed.

  - node.js
  - npm
  - mongodb / mongodb atlas
  - web3.js
  - Ganache
  - Truffle

Installing ⬇️

Retrieve the project (clone the repository using the command)

  git clone https://github.com/Anish-U/BlockFund.git

After cloning the repository, navigate into the directories (server) and run the following command to install all the dependencies

  npm install

Setting up environment

Setup the environment variables by creating .env file in server directory

SERVER_PORT="5000"
MONGO_USERNAME="mongo_username"
MONGO_PASSWORD="mongo_password"


🚀 Deployment

In new terminal, run the command (to run development server)

  npm run devServer