Main repo for the Spin Social. See project: https://gittea.dev/HaQadosch/-/projects/38
Go to file
HaQadosch 738057c4ed add link to gRPC tutorial 2023-11-19 16:52:39 +00:00
.gitignore put org file autosaved in the ignore list 2023-11-19 14:56:53 +00:00
LICENSE Initial commit 2023-11-19 13:43:26 +01:00
README.org add link to gRPC tutorial 2023-11-19 16:52:39 +00:00

README.org

Building a Social App with Spin

#+date:[2023-11-19 Sun]

Org shortcuts

Feetnotes1

create footnote
C-c C-x f
jump to the footnote ref
C-c C-c

Article 1

Notes on article 1 2

Our primany goal this year is to empower developers to build real-world applications using the open-source Spin and the Fermyon platform projects or with Spin and Fermyon Cloud.

We're missing out on patterns like authentication, authorisation, CRUD micro-services, CICD, etc.

It's a live documentation. We can explore the repo and follow along the commits to see what is being done. Based on the activity in the project roadmap it's mostly all done already.

Essential features:

  • POSTing and GETing some JSON
  • Creating a user profile
  • Authorisation on API endpoint
  • Persisting to a DB
  • Automating deployment

This article focus is on:

  • Setting up a Spin project with

    • a module for the SPA
    • a module to allow us to create a user profile

Commits for the creating of user profile. Technologies used:

MySQL
nah, we want SQLite33
VueJS
seriously? Either React or the tryptique
REST Endpoint
Why not GRPC4?
Nothing is said but
offline first would be so nice5

Looks like we're going to need 2 repos on top of this one:

  • One for the API
  • One for the SPA

I'm going to try and follow along, to make sure I get the technology right but also create another version with the tech I would like to use instead. That is double the work but where would be the fun? The gimmick of the social app is to expand the comit link to the source code directly. It would be interesting to see if we can make it a bit like Observable or org-mode and have the snippet executable.

TODO Issue for reading the article

DONE Create API repo for RUST

https://gittea.dev/HaQadosch/SpinSocial_RUSTAPI

TODO Create template for Rust API
TODO Make an app, any app, that works with Rust

Just to get the feel for it and make sure you have all the libs installed.

TODO Follow the quickstart in Rust

DONE Create SPA repo for Vue

TODO Create API repo for GRPC

TODO Create API repo for HTML+CSS+JS

TODO Make a template out of it

and be able to create an instance of the social app easily

TODO Make it an Activity Pub based

and let multiple instance connect to each other

Footnotes


1

If you put footnoes, org-mode is too clever and will stick the notes there. So I name it feetnotes instead, which by the way should absolutily be the way to pluralise a footnote.

2

Or rather, how I understand it.

3

They have a wasm version by the way. And they even have a tutorial for that!

4

Buf absolutely rocks. And they even have a tutorial for that!

5

Automerge maybe ?