Zed A. Shaw
|
ec7298cce0
|
Refactor everything that's used all over into a common/ package and sync files from static/ into public/ so that public's not in the git.
|
2025-07-25 11:35:04 -04:00 |
|
Zed A. Shaw
|
859e3ad0e3
|
Initial setup of an admin page that dynamically reflects the DB to create the CRUD stuff.
|
2025-07-13 12:28:03 -04:00 |
|
Zed A. Shaw
|
d095bc9ff4
|
Now can alternatively generate a static page for a URL from pages, or dynamically return it with c.Render from views. Did this for games and streams.
|
2025-07-10 11:46:56 -04:00 |
|
Zed A. Shaw
|
3bd8d38847
|
Managed to get a simple and NOT SECURE login system going.
|
2025-07-06 00:38:01 -04:00 |
|
Zed A. Shaw
|
9961915c8c
|
Used the new sitebuild tool to generate stuff.
|
2025-07-04 14:36:24 -04:00 |
|
Zed A. Shaw
|
3939a54513
|
Testing out the tools/cmd pattern with go get tool
|
2025-07-04 13:01:12 -04:00 |
|
Zed A. Shaw
|
f476605ecf
|
Came up with the pages/ directory that's templates which are rendered into public for the static pages.
|
2025-07-04 11:31:15 -04:00 |
|
Zed A. Shaw
|
b9d5dbb2e9
|
Tinkering with how to do a 'check view, then static' style of templates, but maybe I need to do a generator?
|
2025-06-29 22:47:03 -04:00 |
|
Zed A. Shaw
|
07ff0e6a97
|
Tell air to not watch public, then tell Fiber to not cache public so I can reload it.
|
2025-06-29 13:41:48 -04:00 |
|
Zed A. Shaw
|
05788e5fbb
|
Very simple dumb login that has no password hashing.
|
2025-06-25 01:25:00 -04:00 |
|
Zed A. Shaw
|
0c47f02201
|
Abit of refactoring into a more classic layout for an MVC style app.
|
2025-06-24 23:55:38 -04:00 |
|
Zed A. Shaw
|
db58b38917
|
Simple test of having a render handler that simply renders files by URL name.
|
2025-06-24 14:46:05 -04:00 |
|
Zed A. Shaw
|
bac4472c3a
|
Apparently for 2 weeks (yes 2 whole fucking weeks) I was using NamedExec wrong instead of MustExec so inserts haven't worked since then. Other than that, this is a more cleaned up MVC style setup than before.
|
2025-06-22 02:48:02 -04:00 |
|
Zed A. Shaw
|
23c6092aa6
|
More coverage report setup.
|
2025-06-21 22:46:37 -04:00 |
|
Zed A. Shaw
|
831b5ea762
|
Test can now attempt a login and the browser is shown rather than headless.
|
2025-06-18 06:54:59 -04:00 |
|
Zed A. Shaw
|
849943a01e
|
Changed to pkgsite for docs browsing and then refined the chromedp test some to be nicer to write.
|
2025-06-17 02:23:23 -04:00 |
|
Zed A. Shaw
|
b28e507e5e
|
Can now run ChromeDP to automate the browser based testing.
|
2025-06-15 01:21:42 -04:00 |
|
Zed A. Shaw
|
81aaffec56
|
Add in a few middlewares I need.
|
2025-06-09 00:57:19 -04:00 |
|
Zed A. Shaw
|
8c04bffa5d
|
A bit more cleanup into an api to use before testing out authentication.
|
2025-06-09 00:37:56 -04:00 |
|
Zed A. Shaw
|
55f59d88b6
|
Sorted out how to do views with Go html/template, how to put code in subdirectories for a namespace, and documented why Go's modules are so weird.
|
2025-06-06 13:12:38 -04:00 |
|
Zed A. Shaw
|
c5f39b3fa3
|
Can now do basic validations of form submits.
|
2025-06-04 00:24:59 -04:00 |
|
Zed A. Shaw
|
4045799ab9
|
I can now submit a form and store it in the database.
|
2025-06-03 23:25:29 -04:00 |
|
Zed A. Shaw
|
d015a8ce93
|
Added Air to the project to get automatic restarts.
|
2025-06-03 15:08:19 -04:00 |
|
Zed A. Shaw
|
c576a61fbe
|
Have a mostly working API server in go that's talking to streams/index.html and related pages.
|
2025-05-31 14:12:08 -04:00 |
|
Zed A. Shaw
|
d49e1fbdc0
|
More testing of the sqlx and squirrel database system, then added in goose for migrations. Pretty close to making a first version api.
|
2025-05-31 00:10:22 -04:00 |
|
Zed A. Shaw
|
f49608d74c
|
Now have a basic alpine.js page going and it's talking to the server to get json in a fake API.
|
2025-05-28 00:26:43 -04:00 |
|