/CeloEdu

Primary LanguageTypeScriptMIT LicenseMIT

Simple dApp inspired from Udemy

Live Demo

https://celo-edu.vercel.app/

Description

This is a demo dApp where user can:

  1. Get all courses from authors in marketplace.
  2. Create your own course.
  3. Buy course.
  4. Complete the course after completing the course.

Usage

Requirements

  1. Install the CeloExtensionWallet from the Google Chrome Store.
  2. Create a wallet.
  3. Go to https://celo.org/developers/faucet and get tokens for the alfajores testnet.
  4. Switch to the alfajores testnet in the CeloExtensionWallet.

Test

  1. Go to home page.
  2. Connect to your CELO wallet.
  3. Press Get Courses to get all new courses.
  4. Press Add Course and input all fields data to create your own course.
  5. Press Buy Course in each course to buy this course.
  6. Press Complete Course to complete course.

Project Setup

Install dependencies

yarn install

Start the dApp in development mode.

yarn dev

Start the dApp in production mode.

yarn build && yarn start