Skip to content

An interactive marketplace where clients can purchase courses(students can choose products of their choice) with Ether digital currency. It features marketplace page with real-time updates of Ether currency and course prices compared to the US dollar.

Notifications You must be signed in to change notification settings

acushlakoncept/dapps-marketplace

Repository files navigation

Marketplace Application

An interactive marketplace where clients can purchase courses(students can choose products of their choice) with Ether digital currency. It features marketplace page with real-time updates of Ether currency and course prices compared to the US dollar.

Has a modal window dedicated to making orders. Email hashing solution to maintain client's privacy. Order view with order filtering and pagination, and many others.

The application is built using the Next JS framework with Tailwind CSS framework. Next JS is internally using React library. It offers SSR(server-side rendering) by default.

screenshot

Live Demo

Live Demo

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Make sure Node.js is running on your local machine
  • Setup Ganache and truffle on your local machine

Setup

$ git clone [email protected]:acushlakoncept/dapps-marketplace.git
$ cd dapps-marketplace

Install modules:

npm install

Ropsten Deployment

  • Create account at https://infura.io/ to generate a PROJECT ID
  • Setup a metamask if you don't have one, you will need the passphrase - MNEMONICS. Keep this secret or you can create a new metamask account just for this purpose.
  • Add keys.json to the root directory with the following fields
{
  "INFURA_PROJECT_ID": "YOUR-PROJECT-ID",
  "MNEMONIC": "RECOVERY PHRASE FROM METAMASK"
}

Usage

First, run the development server:

npm run dev
# or
yarn dev

Compile Contract

// --reset flag forcefully recompiles the contract

truffle migrate --reset

Running Test

truffle test

Get Some Ropsten Ether for test networ

Author

👤 Uduak Essien

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Solidity & Ethereum in React (Next JS): The Complete Guide by Filip Jerga

About

An interactive marketplace where clients can purchase courses(students can choose products of their choice) with Ether digital currency. It features marketplace page with real-time updates of Ether currency and course prices compared to the US dollar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published