Silly online "queue" structure where people can POST to and GET from. The OpenAPI docs page allows you to craft requests and test the API endpoints.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I improved the OpenAPI docs (added actual help messages, example values etc+improved type annotation) and deployed it! https://queue-api.strawberry.hackclub.app/docs
I added sanitisation to all my database queries (silly me forgot before and just did f strings :p ). I also added endpoints for getting the length of a queue, and changing the read and write keys of a queue using its delete key.
added PUT and DELETE endpoints and tested the whole thing. read, write and delete passwords all work!
Got the FastAPI server working! sqlite was annoying me about database locks, so I had to rework my code a bit. with the basic POST and GET methods done, I'll add queue creation and deletion to the API next
I completed all the functions I needed for queue manipulation. these respectively create/drop a queue database and add it to/remove it from the queue_manager structure
I added the queue database structure, wrote functions which interact with it and added support for multiple queue databases+another database to keep track of them. if endpointer wants me to use a database, i will sure as hell do that!