Git Product home page Git Product logo

local-first-unconf-workshop-2023's Introduction

Fission Local-First Software Unconference Workshop 2023

Built by FISSION Built by FISSION Discord Discourse

Welcome to the workshop! ๐Ÿ‘‹

We'll be hacking on an app that transmogrifies avatars sending them to a new, odd dimension where you can summon them anywhere across the web.

The completed workshop will include transmogrify and summon views:

Avatars transmogrify screenshot Avatars summon screenshot Avatars summon modal screenshot

Preparation

Please ensure you have installed node and git on your machine:

If you already have node installed, check that you have v18.0.0 or newer.

You'll also want to install a code editor on your machine. We recommend VSCode, but any code editor will be fine.

Running the app

Clone the workshop repository:

git clone https://github.com/oddsdk/local-first-unconf-workshop-2023.git

The workshop code will be cloned into the directory where you run this command. It might be convenient to run this command from your Desktop to have the project readily available.

Install the project dependencies:

cd local-first-unconf-workshop-2023
npm install

Run the app:

npm run dev

Open Chrome or Firefox, navigate to localhost:5173, and you should see the app running. Ask for help if you don't!

Workshop activities

Now that the app is running, we can start writing some code. ๐Ÿ™Œ

The starter code implements transmogrification and an avatar gallery. Using the ODD SDK, we'll save avatars to the Webnative File System (WNFS). We'll also view our saved avatars on IPFS and explore content identifiers (CIDs).

All of the activities are in two files:

  • Transmogrify component: src/routes/avatars/components/Transmogrify.svelte
  • Summon component: src/routes/avatars/components/Summon.svelte

These files are Svelte components, but you will only need to write JavaScript to complete the activities. Each time you save a file, the web app should update without running another command.

Connect as a new user in the app and navigate to the Avatars page from the sidebar.

Open the Transmogrify and Summon components in your code editor. Start with the Transmogrify component, then move on to the Summon component.

Each file has activities marked with TODO and comments describing the activity. A few additional activities are marked OPTIONAL ADVANCED ACTIVITY. Save these for last, and don't worry if you don't complete them! They are advanced for a reason.

local-first-unconf-workshop-2023's People

Contributors

bgins 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.