Commit Graph

62 Commits

Author SHA1 Message Date
63cd8bd055 More cleanup for nox.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-26 09:45:41 -04:00
c425b6988f Adding some more type hints.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-26 09:24:43 -04:00
022cead8fb Fixing nox.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-26 09:15:59 -04:00
3cd802610f Updating readme, ran prettier on frontend.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-25 21:53:47 -04:00
dc44225477 Added tests for the invitees router.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-25 21:38:31 -04:00
519974a07f Added tests for bookings router.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-25 20:21:40 -04:00
ddc80e361c Added tests for rooms endpoints.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 21:20:24 -04:00
3b525c3eec Added booking and invitee endpoints to the system.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 17:22:31 -04:00
f20200a458 Added the rooms routes to the main application.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:58:32 -04:00
e3a0ba47fa Added logging for the two routers.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:56:30 -04:00
2f47b389b6 Added tests for the users router.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:37:21 -04:00
793baad224 Added tests for the invitees service.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:27:18 -04:00
f3a50d343f Added bookings tests.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-08-24 16:23:05 -04:00
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