Code Monkey home page Code Monkey logo

dappforce / subsocial-react-template Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 17.0 2.08 MB

The React template showcases Subsocial's basic functionality, and allows you to get a better understanding of how to build React dapps on Subsocial.

Home Page: https://subsocial.network

License: GNU General Public License v3.0

JavaScript 1.46% Dockerfile 0.02% TypeScript 86.76% Sass 11.76%
dapp polkadot react social-media social-network subsocial template web3 medium-clone reddit-clone

subsocial-react-template's Introduction

Subsocial React Example

Open in Gitpod

Subsocial React Example is a Next.js project using our JS SDK and mui.

The project is a simplified implementation of Subsocial Web App

Installing

Follow the steps below to install the project locally:

  • Clone the repository using git clone https://github.com/dappforce/subsocial-react-example
  • Move to project directory cd subsocial-react-example
  • Use npm i or yarn to install all the dependencies

Running the Project

To run the project locally use yarn dev command in the root directory.

This will start a development build of the NextJS project.

Deploying

You can easily deploy the project to vercel or similar platforms by integrating CI/CD from your github repository.

For more details, read here.

Important Links

Get started with Subsocial SDK

  • Watch Build Decentralized Twitter-like dapp in 50 mins here
  • Read Quick Reference Guide here
  • Check Detailed How-To Guide here

Support Channels

Subsocial is project built by developers for developers. We love supporting devs building on our SDK. Join our communication channels for all sorts of doubts, discussions, and networking:

subsocial-react-template's People

Contributors

marchd avatar olehmell avatar siman avatar tusharojha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

subsocial-react-template's Issues

Unable to Run React Example Project Template

Followed instructions in readme but unable to run development server. Getting this ReferenceError in Safari.

Screen Shot 2022-01-08 at 8 35 04 PM

In Chrome, I get this error in console WebSocket connection to 'wss://rpc.subsocial.network/' failed: and a blank page renders.

I am also able to run storybook but none of the stories render in the Canvas and I see the same websocket error.

Seeing this warning in command line as well:

(node:21726) [DEP0128] DeprecationWarning: Invalid 'main' field in '.../dev/subsocial/subsocial-react-example/node_modules/@subsocial/api/node_modules/@subsocial/utils/package.json' of 'build/index.js'. Please either fix that or report it to the module author
Could not find files for / in .next/build-manifest.json

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.