Back
Similar todos
Load previous page…
Struggling with authentication at #reinvent
See similar todos

No replies yet

Struggled to incorporate the Line "echo bot" code into my existing Huma Go backend framework code, so I just YOLO'd it and copied the example code into my `main.go` for the purpose of seeing if I can get it working...ran into an error when pushing to Dokku, it seems to be because I didn't set the Line-related env variables before pushing...set those vars on my Dokku server...clicked the Line 'Verify' button for the callback URL and got a 404, so I now need to look into what happened...I think the issue is that the echo bot code assumes I'll use the DefaultServeMux, but I'm actually using a chi Mux. The key line difference is `log.Fatal(http.ListenAndServe(":"+port, r))`, where the example has `nil` instead of `r`...YOLO'd it again by just disabling the router I had gotten working, just to see if the webhook will work, and got a Success when I clicked the Verify button...next up is to either clean up this mess I've made in my code or keep pushing forwards and try to get the ChatGPT part working.
See similar todos

No replies yet

today was my first day actually doing Go development instead of just tutorials: took a magnesium tablet b/c I felt anxious last night, I think from the caffeine in the cocoa I had been drinking; copied my frontend code from my flask/vuetify template repo to my go/vuetify template repo; confirmed I can serve the frontend code locally; installed Go; drank an iced cocoa; successfully started my 'Hello World' main.go backend file as a web app server; asked ChatGPT for help converting my "POST /users/" request to use Go; created a Go module; installed Postman macOS; took a 15min break after an hour; got my frontend app "talking to" my Go backend (successfully returned "Hello World" and had it on-screen in my frontend app); added Go middleware to log every request to the console so I can see what is happening; renamed my (default) branch from 'master' to 'main'; got live reloading for my Go backend (it automatically reloads the backend when I make changes to the code); confirmed my "POST /users/" returns 201 when I use the frontend registration form; came up with a task for tomorrow: get "POST /api/session" working; set up PyCharm to be able to explore my SQLite db from within the DB toolbar; confirmed that my user registration created a new user record in the db
See similar todos

No replies yet

Kept going on the code to send Gmail emails from my Go backend, this is a good way to get comfortable with Go...successfully ran the `quickstart.go` file example from developers.google.com/gmail/a… more time reading advice on Reddit about how to apply for jobs.
See similar todos

No replies yet

👨‍💻 Learn a bit more about oAuth2 from Aaron Parecki | aaronparecki.com/
See similar todos

No replies yet

bought IntelliJ Ultimate All Products Pack annual subscription b/c I want to use GoLand and paying for that and PyCharm is close to the same price as getting all the rest of the IDEs/tools as well; installed GoLand and WebStorm (for Vue dev work); learned I seem to need to open my 'backend' subdirectory as a root project in GoLand to avoid 'unknown dependency' errors; switch from using the gorilla/mux router to chi b/c apparently it's more actively developed(?) and more popular(?); look into using the Huma REST API framework; got the Huma "Hello World" example working in my code
See similar todos

No replies yet

Authentication using a jwt token different than the github token for increased security #devhub
See similar todos

No replies yet