GithubHelp home page GithubHelp logo

rersozlu / polynote-scaling2023 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itublockchain/polynote-scaling2023

0.0 0.0 0.0 5.58 MB

Private note taking application #buidl on Polybase.

Shell 0.04% JavaScript 1.38% TypeScript 93.69% Dockerfile 0.59% SCSS 3.17% Solidity 1.12%

polynote-scaling2023's Introduction

Polynote

Private note taking application #buidl on Polybase for ETHGlobal Scaling 2023 Hackathon.

Project description

Polybase is a great tool for storing your scaling data on Web3. Our main goal is to create an application which reaches to end-users and used in daily basis. We decided to build a private note taking application on Polybase. The users will connect their wallets and start taking notes, which are going to be written to Polybase collections after being encrypted. Users will be able to whitelist wallets through a smart contract which is going to be deployed on Scroll testnet. We are sending a push notification to shared addresses through Push SDK to let them know about the note link.

Scroll smart contract

0x29e362244AB911d7Adc78dc08561a1C514D9096C

Build

Build frontend

$ cd ./polynote-frontend
$ npm install # Install dependencies
$ npm run dev  # Run development server

Build backend

Step 1 - Create docker compose

  1. Create docker-compose.yaml on ./polynote-backend directory.

  2. Copy the file below and fill environment section

version: '3.8'
services:
  polynote-api:
    image: asgarovfarhad/polynote-api:1.0.0
    container_name: polynote-api
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - 8000:8000
    environment:
      - APP_CORS=*
      - APP_PORT=8000
      - API_VERSION=1
      - APP_VERSION=development
      - PRIVATE_KEY= # Your private key
      - ENCRYPTION_KEY=[] # Read more at https://polybase.xyz/docs/encrypt-data#encrypt-data-using-symmetric-encryption
      - NETWORK_RPC_URL=https://alpha-rpc.scroll.io/l2
      - POLYNOTE_CONTRACT_SCROLL= # Your scroll contract address (Default is 0x29e362244AB911d7Adc78dc08561a1C514D9096C)
      - DB_NAMESPACE= # Your unique namespace string (default is polynote)
      - WEB3_STORAGE_TOKEN= # Read more at https://web3.storage/
    platform: linux/amd64
    restart: always

Step 2 - Run Docker

$ docker compose build
$ docker compose up -d

The server will run on port specified in docker-compose.yaml, which defaults to 8000.

Tech Stack

Tech Field
Polybase Web3 Database
Filecoin Decentralized Storage
NestJS Backend
ReactJS Frontend
Hardhat Smart Contracts
Scroll L2
Push Protocol Notification service
TiptapJS Text Editor

Team Members

Team Member Role
Farhad Asgarov Full stack
Alim Sahin Smart Contracts
Bahri Bugra Meydan Research
Eylul Sahin Designer
Feyzi Taylan Unal Research

polynote-scaling2023's People

Contributors

aalimsahin avatar asgarovf avatar bahribugra 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.