Giter VIP home page Giter VIP logo

celo-frontend-challenge's Introduction

CELO-FRONTEND-CHALLENGE

Description

This web application submission enables user to view, buy, add, delete their products in the marketplace. This marketplace keeps tracks of user transactions done on the marketplace.

Features

  1. View list of products in the marketplace
  2. Add new products
  3. Delete products
  4. View transaction history, i.e. a record for every transaction made on the marketplace (buy, sell, and remove transactions).

Tech Stack

This web aplication uses the following tech stack:

  • Solidity - A programming language for Ethereum smart contracts.
  • React - A JavaScript library for building user interfaces.
  • Typescript - a strongly typed programming language that builds on JavaScript.
  • Rainbowkit-celo - RainbowKit is a React library that makes it easy to add wallet connection to dapp.
  • Wagmi - wagmi is a collection of React Hooks containing everything you need to start working with Ethereum
  • Hardhat - A tool for writing and deploying smart contracts.
  • TailwindCss - A CSS framework that dress up webpage.

Installation

To run the application locally, follow these steps:

  1. Clone the repository to your local machine using: git clone https://github.com/Blisado1/Celo-Frontend-Challenge
  2. Move into react-app folder: cd celo-fe-101/packages/react-app
  3. Install: npm install or yarn install
  4. Start: npm run dev
  5. Open the application in your web browser at http://localhost:3000

Usage

  1. Install a wallet: MetamaskExtensionWallet.
  2. Create a wallet.
  3. Go to https://faucet.celo.org/alfajores and get tokens for the alfajores testnet.
  4. Switch to the alfajores testnet.
  5. Connect your wallet to the app.
  6. Create multiple products.
  7. Create a second account in your extension wallet.
  8. Add products to your cart
  9. Checkout from cart and pay
  10. Check balance
  11. Switch to first account and check sales
  12. Then withdraw money in sales to first account

Contributing

  1. Fork this repository
  2. Create a new branch for your changes: git checkout -b my-feature-branch
  3. Make your changes and commit them: git commit -m "feat: create new feature"
  4. Push your changes to your fork: git push origin my-feature-branch
  5. Open a pull request to this repository with a description of your changes

Please make sure that your code follows the Solidity Style Guide and the React Style Guide. You can add tests for any new features or changes, also please make the front-end more friendly. I welcome any contributions or feedback on this project!

celo-frontend-challenge's People

Contributors

blisado1 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.