Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Initial ideas for a workshop using Kernel and DACs

Notifications You must be signed in to change notification settings

dghelm/hackathon-ideas-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consuming Decentralized APIs with Skynet Kernel

This project is the basis for a workshop built around consuming decentralized APIs made available by Skynet Kernel modules.

Specifically, it builds on the skynet-dacs-library to call Kernel modules using a library which abstracts the Kernel interaction. It is used to add social functionality to decentralized webapps. See: npm, github, and documentation.

The repo contains the code for both mock data and a functional application for doing the following:

  1. Authenticate with Skynet Kernel, then get user's public userId using the Identity DAC
  2. Get your public user profile using the Profile DAC
  3. Follow a group of user by adding them to your friend list, using the Social DAC
  4. Add a post to your feed, with application specific metadata using the Feed DAC
  5. Read the posts of other hackers, also using the Feed DAC

The style of this app focuses on isolating API logic from UI logic and creaing a functioning app with minimal complexity beyond Create React App knowledge.

For more information on Skynet Kernel, see its repo or its temporary documentation. If you want to build a Kernel Module, see this workshop.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

Initial ideas for a workshop using Kernel and DACs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages