Skip to content

687c/687b-backend

Repository files navigation

687b-frontend

🚧 WIP 🚧

project Profile

687b was built as an online marketplace built on the Solana protocol that allows any buyer to post a product, display it on the marketplace and get potential customers for it.

Tech stack 💻

This is a [solana] project and I am using the following libraries and framework.

This is a JavaScript single page application built with the following libraries and frameworks

  • node for the server.
  • express for creating the API to enable the frontend interact with the node server.
  • mongoose ODM to interact with the the database.
  • @solana/web3.js for handling the transactions on the Solana blockchain
  • react for building the frontend.
  • styled-components for styling the frontend

Source data 📝

I pulled the data from the MongoDB instance I created using atlas

What I learned?

  • Connecting to the Phantom wallet using web.js.
  • Signing a transaction on Phantom using web3.js.
  • Creating a transaction on Solana and transfer coins from one account to another.
  • How to send USDC tokens on solana.
  • How to create global state with useContext, share the values using a custom hook and store value using the useReducer hook
  • How to store files(images) on IPFS using Pinata.
  • Migrate to newer react-router v6 and switch to newer API's

Project setup

This project is split into two. The front end which lives in this repo frontend repo and backend which lives here backend repo

    git clone https://github.com/jim4067/687b-backend.git
    cd 687b-backend
    npm install
    npm run dev

Jimmy ©2022 - present

About

A simple solana Marketplace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published