3.1 KiB
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.