Replace FastAPI with LiteStar & JSON responses with HTMX#3000
Merged
spwoodcock merged 12 commits intodevfrom Jan 8, 2026
Merged
Replace FastAPI with LiteStar & JSON responses with HTMX#3000spwoodcock merged 12 commits intodevfrom
spwoodcock merged 12 commits intodevfrom
Conversation
Member
Author
Member
Author
|
Can we keep engine=calamine in the xlsx file reading? Its much more performant, as a driver written in rust |
Collaborator
|
Sure. I will add back. |
1670b89 to
074b4f8
Compare
Member
Author
|
I fixed the db pool usage during tests, so now we can run: just test backendThen fix the endpoint responses based on the output, e.g. |
Member
Author
|
@Anuj-Gupta4 I'm going to rebase on the latest dev, so if you have any unpushed commits, please stash them, reset this branch, then re-apply 🙏 Sorry for the hassle |
c00cdc3 to
20eb3c0
Compare
5c77d66 to
a997cd5
Compare
Member
Author
|
A good way there! To be continued in a future PR 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Describe this PR
excludes=orincludes=to determine which fields to included. These DTOs are only using for model serialisation on input and output from end points. All db queries use the primary db model.For now I only did the migration, keeping all the same JSON endpoints for the existing frontend.
In future, we can start to add HTMX endpoints for HTMX responses instead of JSON, making the whole app a bit simpler into the future 🤞
Review Guide
Notes for the reviewer. How to test this change?
Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?