Repository files navigation
What is a workspace exactly
an entry in the database with a unique uuid describing a users workspace for a specific problem
a folder on the server with the same uuid containing the problems statement and source code
When user clicks on a problem to solve online
click solve online
check the database if the user already has a context for that problemId
if yes, redirect it to it
if no, call workspace manager to create a new one
How does workspace creation work?
create a new workspace entry in the database
create a new folder on the server with the same uuid
upload the problem statement and source code to the folder
How does workspace access work?
user access is based on a url with the workspace uuid
the workspace manager checks if the user is authenthicated and has access to the workspace
if the user is not authenthicated, the workspace manager redirects to the login page
the workspace manager becomes a proxy for the vscode server
the vscode server has a custom extension that calls the web api to check the submission
use the current web app as proxy
have a restricted api to launch new workspaces and proxy the traffic to their api
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.