Replies: 4 comments
-
I think this would be a great time for us to take a look at the bookserver together and see how we feel about organization, complexity, authentication, etc. As of today, if you have an entry for a user in auth_user in a database -- I continue to test with sqllite -- and an entry for a course, AND you have built a book with the bookserver branch of the components. you can login, view the book and page views are all added to the useinfo table. I am to the point where I think I can really start chopping wood on porting the ajax.py endpoints and getting test coverage up. Authentication and my busyness with other tasks big roadblock for me, but I think that I'm through that roadblock and we may be within a couple of weeks of having the server at a really great point. Happy to schedule some time to zoom and walk through things. |
Beta Was this translation helpful? Give feedback.
-
Fantastic! Let me play with it a bit then schedule a time to chat. I'm very excited! |
Beta Was this translation helpful? Give feedback.
-
See my thoughts in #8. |
Beta Was this translation helpful? Give feedback.
-
What's the plan for instructor use of the bookserver?
|
Beta Was this translation helpful? Give feedback.
-
This is a start on a migration of the book server to FastAPI - Lets use this Issue to discuss.
I want to polish up this first bit to set the stage for the rest of what needs to come. So getting this as "right" as we can is the goal.
You should be able to run this yourself with the following:
poetry install
to install all of the dependencies (you can either make your own virtualenv or let Poetry)uvicorn app.main:app --reload
You can then exercise the API call for logger/bookevent using the autogenerated documentation.
Next up getting a unittest set up for this first endpoint.
Tagging @bjones1
Beta Was this translation helpful? Give feedback.
All reactions