Skip to content

FLAMEAL is a DApp created to help communities effectively redistribute food while helping people who suffer from food poverty.

Notifications You must be signed in to change notification settings

lucian-duta/FLAMEAL

Repository files navigation

Logo

A decentralised software solution using blockchain technology that will help communities to effectively distribute food or other forms of help for the ones in need.

Documentation

Documentation

Installation

NodeJS and npm which can be downloaded from the NodeJS website.

Truffle Framework

  npm install -g truffle

Develop

Clone the project

  git clone https://github.com/lucian-duta/FLAMEAL.git

Go to the client directory

  cd FLAMEAL/client

Install dependencies

  npm install

Go to the server directory

  cd FLAMEAL/server

Install dependencies

  npm install

Start EVM(Ethereum Virtual Machine) in CLI - skip if using Ganache

  truffle develop

Compile and deploy contracts

Compile the contracts

  compile

Deploy the contracts

  migrate

Start the front end

  cd /client/src
  
  npm run start

Start the RESTful API

  cd /server
  
  npm start

Important: Before running the server make sure to update the MongoDB path.

Tech Stack

Client: React

Server: Node, MongoDB, Express, Mongoose

Smart Contracts: Solidity

EVM: Truffle Suite

Acknowledgements

  • I would like to thank Dr Bilyaminu Auwal Romo for his expert advice, encouragement and commitment to supporting me throughout this challenging project

Code Acknowledgements