Coder Social home page Coder Social logo

wanjirunjunge / escrowwebapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nerdistry/escrowwebapp

0.0 0.0 0.0 123.68 MB

A web application that leverages principles of blockchain technology and escrow services to create a secure, trustworthy ecommerce marketplace.

JavaScript 92.04% CSS 5.38% HTML 1.21% Dockerfile 0.14% Solidity 1.23%

escrowwebapp's Introduction


EasyBuy
EasyBuy

An ecommerce application on the Blockchain.

MongoDB Solidity NodeJS

Key FeaturesHow To UseDownloadCreditsRelatedLicense

Introduction

Ecommerce platforms have always been very beneficial in terms of wider access to goods. Despite its many advantages there exist challenges that plague online transactions which include data security, lack of trust and payment disputes. To confront these challenges, this study presents an application that leverages principles of blockchain technology and escrow services to create a secure, trustworthy ecommerce marketplace. Addressing the inherent challenges ultimately enhances user confidence and mitigates potential risks. The methodology involves designing an intuitive application that integrates escrow services, securely holding the buyer's payment until both parties reach an agreement. Smart contracts powered by blockchain which define the conditions for releasing the funds from escrow to the seller upon successful delivery and buyer approval; will also be developed.

Key Features

  • Connect to MetaMask Wallet.
  • Instant read of Ethereum Balance.
  • Transact securely using Ethereum.
  • Windows and Linux ready.
    • Not tested on other platforms.

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/nerdistry/EscrowWebApp.git 

# Delete the node modules and package-lock files in both the front and back end folders.

# Go into the front end folder
$ cd frontend

# Install dependencies for the front end.
$ npm install

#Go back a directory
$ cd ..

# Go into the back end folder
$ cd backend

# Install dependencies for the backend end.
$ npm install

#Install hardhat
$ npx hardhat

#Go back a directory
$ cd ..

# Go into the front end folder
$ cd frontend

# Run the app
$ npm start

Note

Remember for Windows you have to have XAMPP installed. And the database we are using is MongoDB.

⚠️⚠️ We're using testnets for this web application and for security reasons, it is highly recommended you follow suit.

Credits

This web app uses the following important packages for the:

(a) Normal Backend

There were just worth mentioning, you can check out the rest in the package-lock.json file in the backend folder.

(a) Solidity Backend

(b) Frontend

The packages are more than we can mention!

Output Structure


Escrow_Web_App/
├── backend/
│   ├── config/
│   │   └── dbConnect.js
│   │   └── jwtToken.js
│   │   └── refreshtoken.js
│   ├── contracts/
│   │   └── escrow.sol
│   ├── controller/
│   │   └── brandCtrl.js
│   │   └── categoryCtrl.js
│   │   └── emailCtrl.js
│   │   └── productCtrl.js
│   │   └── userCtrl.js
│   ├── middlewares/
│   │   └── authMiddleware.js
│   │   └── errprHandler.js
│   │   └── uploadImages.js
│   ├── models/
│   │   └── brandModel.js
│   │   └── cartModel.js
│   │   └── categoryModel.js
│   │   └── orderModel.js
│   │   └── productModel.js
│   │   └── userModel.js
│   ├── routes/
│   │   └── authRoute.js
│   │   └── brandRoute.js
│   │   └── categoryRoute.js
│   │   └── productRoute.js
│   ├── scripts/
│   │   └── deploy.js
│   ├── index.js
│   └── package.json
├── frontend/
│   ├── public/
│   │   └── index.html
│   ├── src/
│   │   ├── components/
│   │   ├── App.js
│   │   └── index.js
│   ├── package.json
│   └── ...
└── README.md

License

MIT


GitHub @bryanlwaya  ·  GitHub @fanisheba  · 

escrowwebapp's People

Contributors

nerdistry avatar bryanlwaya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.