Commit Graph

49 Commits

Author SHA1 Message Date
ce49cd9a1e Getting the tests set up and cleaned up for rooms and users.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:00:51 -04:00
b6b5972f23 Added tests for users service functions.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 15:13:14 -04:00
073f7df908 Better error handling for endpoint.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 22:33:42 -04:00
986df52c94 Added some more details to the readme file.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 22:22:59 -04:00
9f87e33769 Fixing the schema for users.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 22:11:42 -04:00
9f3235263d Renamed the db session dependency type alias.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 21:59:01 -04:00
29f53bfd4d More little changes.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 21:51:26 -04:00
a668f02b52 Adding the first routes.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 21:47:53 -04:00
442de8036a Adjusted sql to the way the tables are now defined.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 21:14:30 -04:00
60dc653e8c Added seed.sql and loaded dummy data.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 20:52:25 -04:00
13869eb94e More readme stuff.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 17:43:13 -04:00
4479e1d021 Added security concerns.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 17:41:30 -04:00
3828686362 Another graph change
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 17:36:34 -04:00
91c5c62385 Different kind of graph
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 17:31:09 -04:00
f699c2c588 Readme updates.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-23 10:54:36 -04:00
fa6e3470b0 pep-8 naming stuff.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 23:57:09 -04:00
a1a435c7c1 Restructured the schemas correctly now too.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 22:45:02 -04:00
428b9835e1 More restructuring of files to adhere more to how FastAPI does things.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 22:35:26 -04:00
85ef1e09ac Cleaning up, adding logging and error checking.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 22:14:34 -04:00
de36eb9ce9 Added logging throughout sql.py, setting up error handling and
reporting. Made logging configuration for app.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 22:05:20 -04:00
72b9e9f2dc Added logging setup
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 21:34:57 -04:00
063a33effc Actual example file now added.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 19:48:46 -04:00
7f71a3e328 Added in a .env.example file.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 19:48:19 -04:00
45de78603a Got alembic migrations set up.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 19:41:34 -04:00
0dccf3e347 Putting the create db stuff back.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 19:28:17 -04:00
0164fa6e7f Removing the fake migration.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 19:07:52 -04:00
6ab4d7c74e Correcting changes for session parameter.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 18:47:38 -04:00
3d4894cda9 Added in alembic for migrations.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 18:38:51 -04:00
a87f4013f9 Starting to flexh out the sql functions for the backend.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 16:19:01 -04:00
6ae0abfb48 I noticed that the rules said explicitly no SQLModel, so I restructured
my models to not use it, and separated the concerns a bit better.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 15:46:34 -04:00
ce440b4be7 Got some unit tests set up for sql.py.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-22 11:52:21 -04:00
8fae12d218 Adding in sql.py, setting up connection and session management.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-21 18:55:53 -04:00
8c6d105567 Added ENVIRONMENT variable to compose yamls.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-21 10:29:06 -04:00
4680d15914 Got pre-commit hooks working, starting setup for FastAPI.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-21 10:26:29 -04:00
51c1c97f20 Got the main.py tied into the backend now.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-21 09:27:30 -04:00
e15b62fae3 Working on getting the models set up.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:50:30 -04:00
f1498452fb Updating the README.md
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:25:45 -04:00
6e470de2ad Ok, so the new dev compose is working now.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:10:35 -04:00
d52b666743 Recreated frontend with typescript completely.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:04:37 -04:00
a61583ff1d Fonishing removal of frontend.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:02:18 -04:00
86a30617c5 Removing to recreate the frontend.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 21:01:11 -04:00
57fddd2a9a Working on getting the dev/local operating.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 20:43:45 -04:00
3a9339fe6d Working on building out the compose file for dev/local operations.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 17:13:38 -04:00
932d7b59c0 Adjusted the Dockerfiles to make everything work correctly.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 16:12:32 -04:00
99a86b5fa5 Adding typescript.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 11:43:34 -04:00
c330c56d98 Adding overall README.md
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 11:36:18 -04:00
50a8ed3410 Adding docker compose file.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 11:23:42 -04:00
c030eb26f3 Created dockerfiles.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 11:13:14 -04:00
84bd28c867 Initial commit with frontend and backend setups.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-20 10:15:21 -04:00