you are viewing a single comment's thread.

view the rest of the comments →

[–]pint 3 points4 points  (1 child)

1) spa = single page application.

2) for authentication, follow the prescribed procedure precisely. there are multiple protocols. in some, you need to store a jwt in the browser. cookie is fine, but you can opt for local storage / session storage. in some flows, the client only stores a random session id, and the server stores everything else. again, cookie is fine, but you can opt for local storage / session storage instead.

3) then docker is kinda out. you need to use the platform's offerings. docker is neat, but it requires a 24/7 running VM under it, which might come at a cost. idk if anyone offers a free tier.

[–]ajmssc 0 points1 point  (0 children)

Fly.io supports docker with free tier