-
Notifications
You must be signed in to change notification settings - Fork 6
[FEAT] Integrate backend and database #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
iishiishii
commented
Aug 31, 2025
- Dockerize frontend, backend, database
- Improve UI to handle niimath operations and download data
- Create endpoints to authenticate users and handle scene processing
- Handle data migration with alembic
…d get scene request; create scene model
…e processing status using enum
…PI. Implemented API query in client side.
…h validation and dynamic URL generation. - Added scene creation endpoint that combines file upload and scene creation. - Updated models to allow optional fields for tool name and nv_document. - Mounted static files for serving uploaded uploads.
…make tool_name optional in SceneBase
- Config JupyterHub for authentication. - create Dockerfile for the frontend to build and serve the application using Nginx. - Added a build-and-copy script to manage asset copying from the frontend to the backend. - Created root and home routes for the application.
…okens and user authentication via cookies.
…password authentication
…nstructions; add prestart script for database setup; update mechanism to logout when access token expires
…up and usage instructions
|
@iishiishii, I'm having a bit of trouble running this PR. What I've done:
I then tried to sign up using
I also tried to sign in with the superuser defined in
Am I missing a step? If not, can you think of anything I could try to debug? @neurolabusc, @cdrake, @hanayik, is this working for you? Is this just a peculiarity of my setup (Ubuntu 20.04)? |
|
Hey @pwighton thanks for testing the PR. Do you have I suspect it might cause workos to fail. I should have used |
|
Thanks @iishiishii, that gets me a bit further. There was indeed a
But the behavior of the sing-up tab hasn't changed. There is no reponse when I click 'Create Account' Is there something I need to do on the workOS site? Configure AuthKit perhaps? |
|
Thanks for pointing that out! You’re right, the frontend URL needs to be configured in WorkOS. I’ve updated the documentation with the steps here: WorkOS setup instructions Once that’s set up, you should be able to sign up. WorkOS will handle the email and password for your account, while only the WorkOS user ID gets stored in the local Postgres database. For testing, I had set up the |
|
Thanks @iishiishii! More progress has been made, but I'm still having issues. When Trying to follow the Work OS setup instructions, I got a message saying I had to enable AuthKit first. So to do that, I:
I then followed the Work OS setup instructions:
Now my CORS allowed origins looks like:
And My email+password settings looks like:
One thing I did notice, is my password was shorter than the length required. So when using my original 8 char password, I get the same behavior (no reponse, no meesage in the console) but when I enter a longer password, I get this:
|
…on local database





