aboutsummaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
2024-01-22initial errres struct work for API err responses (needs work)Alexander Kavon
2024-01-22update db adapter, server, routes, and user model to be sqlboiler compatibleAlexander Kavon
2023-12-01settled on map[string]interface{} for passing data to view, automatically ↵Alexander Kavon
append session struct, fixed nil session checks, updated templates to use map variable names
2023-11-30fixed login/create templates to point to correct endpoints, updated func ↵Alexander Kavon
names to be more idiomatic, reference Session objects to save memory, logout/session.Destroy method
2023-11-30setup routes to use middlewares properlyAlexander Kavon
2023-11-30initial sessions support via sessions pkg, includes session middleware for ↵Alexander Kavon
setting sessions, guest sessions, method to return array of middlewares
2023-11-29user create/insert into users table, pgxpool defer moved to top of app, ↵Alexander Kavon
me.tmpl.html, secret hashing with argon2id, updated migrations
2023-11-28ui render templates simplifyAlexander Kavon
2023-11-28add database connections, user model insertAlexander Kavon
2023-11-28added migrations via tern, updated db package to connect to pgsql db, ↵Alexander Kavon
updated config to build db connection string, updated example .newsstand.toml config, new pgx dependency
2023-11-28working container compose w/database, no more auth package, message template ↵Alexander Kavon
partial, working html template writing, auth routes in user/routes.go
2023-11-28build ui and render templates, build routesAlexander Kavon
2023-11-27templates renamed as ui, initial funcs for render and building templates/uiAlexander Kavon
2023-11-27config updates, rename user model, load auth routes, initial templating pocAlexander Kavon
2023-11-14router types; pass config, routes, db to server type, serve funcAlexander Kavon
2023-11-14new packages for users, posts, serverAlexander Kavon