papa_owl
papa_owl
TTCTheo's Typesafe Cult
Created by papa_owl on 5/8/2023 in #questions
Noob question about astro
Hey all. Looking if is there anyone I can bounce some questions to. I've been learning Astro. Doing a small app from scratch so I can learn the workings of the platform. I am an experienced developer but not with Javascript so this is a new world for me. I have a backend in pocketbase. Astro as "glue" and I am thinking on using Solid in the client. Got over the routing part easily, done auth verification and I am now starting with client interactivity. I am building the login form. My question: I have 3 possible ways 1) do a form with method=post and use astro to handle auth or 2) do a api on astro and deal with pocketbase comms or 3) use the client side do auth directly on pocketbase and send the token to astro is successful Anyone can give me an insight on what would be the "correct" approach?
3 replies