.gitignore | ||
LICENSE | ||
README.org |
Building a Social App with Spin
- Org shortcuts
- Article 1
- Footnotes
#+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
TODO Follow the RUST tutorial
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