-
Notifications
You must be signed in to change notification settings - Fork 37
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
group14-final-submission #9
base: main
Are you sure you want to change the base?
Conversation
An important topic, and I'm glad that you're tackling it. Figuring out how you want to store / process the data on the server will be an interesting challenge. On the one hand, it probably makes sense to organize using one document = one client session. On the other hand, that means every time you want to calculate statistic you'd have to load in every document in the databases in order to access the answers from each user/subject. Given that you'll probably mostly be running basic statistics on the data, you might be able to have mongodb calculate these on the fly for you, perhaps using something like reduce or accumulators(probably better). Otherwise, you could perform the required calculations after each submission and write the JS code to do it in node but I don't think this would scale well in the "real world", as there would be a lot of communication back and forth between the server. Keep me posted on how you decide to tackle this problem! |
Initial Project Structure
Website: https://group-14-final-project-2nrny.ondigitalocean.app/
Demo Video: https://www.youtube.com/watch?v=X7JrgC3JO-w