Eternal
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Eternal on 8/25/2024 in #questions
Should the server respond with the error or a generic "try again" message?
Ooh. I'm gunna do that except with a webhook
10 replies
TTCTheo's Typesafe Cult
•Created by Eternal on 8/25/2024 in #questions
Should the server respond with the error or a generic "try again" message?
Logging all errors to the database or to a file? I didn't think of that before. Great idea.
10 replies
TTCTheo's Typesafe Cult
•Created by Eternal on 3/15/2024 in #questions
rolling your own auth
Thanks
5 replies
TTCTheo's Typesafe Cult
•Created by techhjork on 5/20/2023 in #questions
Credentials Signin NextJs
6 replies
TTCTheo's Typesafe Cult
•Created by techhjork on 5/20/2023 in #questions
Credentials Signin NextJs
It says which GitHub issue to check in the error message
6 replies
TTCTheo's Typesafe Cult
•Created by Giacomo on 5/20/2023 in #questions
Simple server solution when serverless is not enough
Now I'm Theo, or even an intern. But if I had this problem and I was hell bent on keeping server less in there, Id have a server always running. Server less sends post request to that server, like you suggested yourself.
One problem would be fear of someone finding that server on shodan or whatever. So use an auth header? Don't have to be complex. Idk, that's just my two cents.
4 replies
TTCTheo's Typesafe Cult
•Created by Eternal on 2/18/2023 in #questions
New to fullstack
oooh. Thanks!
11 replies
TTCTheo's Typesafe Cult
•Created by Eternal on 2/18/2023 in #questions
New to fullstack
I'm not a complete beginner. I've written some backend database code and server code. I've made things like login, register, getting user profiles. But thats all backend, and thats only the surface. I glanced over TheOdinProject and it dosnt anwer my questions, and FullStackOpen is too darn long. It would be great if you could answer some of my questions here.
Oh, and after some research on what frameworks to use, I've settled on Vue. \
11 replies
TTCTheo's Typesafe Cult
•Created by Eternal on 2/17/2023 in #questions
ExpressJS router not working
Nevermind, fixed
Since i'm attaching the router to "/api/login", I need to change the path the router is on in login.js from
router.post("/api/login"
to
router.post("/"
2 replies