Hello,
A year ago I received some great advice, when I was in the early research stages of my company’s project, from @Dean_Davidson and other memebrs of hte community ( Crazy to use Go in a CRUD App - #10 ) I appreciate it, and wouldn’t have made it this far without everyone who contributed on that thread.
The database schema is built, and I’ve wrote most of the Go + Echo backend. I originally was going to use Supabase to manage Postgres & Auth, but we host on our own servers (Supabase is a bloated stack), and the more I got comfortable with Postgres, I decided to ditch it before we get to production.
Unfortuantely, that means I need to manage Authentication. The only authentication I want available for the application is Google or Microsoft SSO. For the sake of simplicity, **is this auth stack satisfactory?
go get github.com/markbates/goth
go get github.com/gorilla/sessions
go get github.com/golang-jwt/jwt/v5
go get github.com/labstack/echo-jwt/v4
Current project structure:
laneweavertms
├── cmd
│ └── server
├── internal
│ ├── config
│ ├── database
│ ├── dbtypes
│ ├── handlers
│ ├── middleware
│ ├── models
│ ├── repository
│ ├── router
│ ├── services
│ └── validators
├── laneweaver-frontend
│ ├── e2e
│ └── src
│ ├── lib
│ │ ├── assets
│ │ ├── components
│ │ ├── types
│ │ └── utils
│ └── routes
├── scripts
└── postgresql
├── backups
└── migrations
└── _archived
Thank you in advance. I appreciate it.