This guide will teach you how to create a social application where users can create on-chain content and connections in the social network. You will learn to implement features that will empower your users to own their social identities and the content they've created.
Once users have set up their profiles, they will have the ability to enable rules for the subscriptions to their profiles (e.g. pay to subscribe) and the posts they've created (e.g. pay to collect post).
This is a more comprehensive example with the sole purpose of going over core features and highlighting how easy to implement them. Later on you can extrapolate and get creative with your project to create different use cases that would truly make your app stand out.
How to Build Content app covers the following sections:
- Create a Profile
- Subscribe to Profile
- Create a Post
- Collect a Post
- Middleware for Subscribe
- Middleware for Post
Clone the repo https://github.com/cyberconnecthq/cc-content-app.git and run the following command in your terminal to install all the packages that are necessary to start the development server:
npm install or
To start the local development server run the command
npm run dev or
yarn dev and open up the browser window http://localhost:3000. Most changes are reflected live without having to restart the server.
This is the link for the live version of the app you are about to build: https://cc-content-app.vercel.app/
Let's dive into the docs and start building a content application!