tracking-code-which-will-go-to-the-HEAD FLAMEAL Documentation Home

Home

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.

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

EVM Truffle Suite

Acknowledgements