Sam Wight :verified: on Nostr: For web apps: - Build a static SPA with a backend api in Elixir or Rust. These will ...
For web apps:
- Build a static SPA with a backend api in Elixir or Rust. These will run on a toaster.
- Use a simple frontend framework that offers a lot of flexibility.
- Build a graphql API or an API with OpenAPI defs.
- Turn CORS OFF on the API. Make it easy for people to build alternative frontends without a server.
Published at
2023-09-27 21:26:34Event JSON
{
"id": "2dafc4c09ba7b1e2f68ee1308c39b80e4fea4494ee5bc5c490056f0477bf32a6",
"pubkey": "38bcec516a272ddf71d737fce6965f5297381b3bacc70f331893af7e286afd49",
"created_at": 1695849994,
"kind": 1,
"tags": [
[
"e",
"650d53a5ca5231228b2191af6fc660ce9c7bd9067711fbd26eb61e41a879a4c8",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://urbanists.social/users/sam/statuses/111139225212469417",
"activitypub"
]
],
"content": "For web apps:\n\n- Build a static SPA with a backend api in Elixir or Rust. These will run on a toaster. \n- Use a simple frontend framework that offers a lot of flexibility. \n- Build a graphql API or an API with OpenAPI defs. \n- Turn CORS OFF on the API. Make it easy for people to build alternative frontends without a server.",
"sig": "d3f69d2e7c8b0bc3c2d39c39fbe9b6484c4d4e610ad09ee2ed44a2781f0cb780af32716b586c9939b2155498b99a42f4351dccbdf246b9703929a9a9f282ec66"
}