/fdp-TODO-app-tutorial

An interactive how-to guide for beginners on getting started with building dApps on Fair Data Protocol using fdp-storage, FairOS and fdp-play.

Primary LanguageSvelte

Getting Started with Fair Data Protocol (FDP)

An interactive how-to guide for beginners on getting started with building dApps on Fair Data Protocol using fdp-storage, FairOS and fdp-play.

Independent Todo apps built using the two approaches described in this tutorial:


Diagram 1: Fair Data Protocol - Creating Accounts

image


Diagram 2: Creating Accounts wit FdpStorage / Blossom

image


Diagram 3: Blossom browser extension

image


Local Development Setup

Prerequisites:

Requirements:

  • Docker must be already installed
  • node >= 16

Install fdp-play globally

$ npm install -g @fairdatasociety/fdp-play

Spin up a local FDP development environment with fairos

$ fdp-play start --fairos

Setup & Installation:

Clone the repo

$ git clone https://github.com/fairDataSociety/fdp-TODO-app-tutorial.git
$ cd fdp-TODO-app-tutorial

Install dependencies

$ npm install

Run application

Requirements: fdp-play must be running already!

$ npm run dev

The application can be viewed at - http://localhost:5173/

Screenshots

image


image


image