This is code a website for teachers to copy materials from one google classroom to another.
Use freely, but at your own risk.
Go to the website
https://stanislas.informatica.nu/classroom
To use the website, you must have a google-account on stanislascollege.net
Features:
- copy material from one classroom to another in bulk
- select material per topic or individually
- automatically sort of material (this is the best I can do, as google doesn't disclose any ordering information through it API)
- all attachments in material are copied (not linked), the classname is added to each copied filename
- all material copied has status
concept, it will be visible to students after youpostthe material
Technical knownledge is required to make this available for another school.
development:
- start a Codespace of this repository, or any other development environment
- start a webserver (automaticly started in this Codespace)
- add the link to your development host to the 'Authorized JavaScript origins' for your 'OAuth 2.0 Client IDs' at https://console.cloud.google.com/apis/credentials
- open webpage
deployment:
- Fork or copy this repository,
- Enable GitHub Pages or use any other static-hosting service to host this page
- Change API and Oauth keys in index.html (the current ones are limited by google for use at stanislascollege.net)
- Official quickstart programming classroom API in javascript from Google
https://developers.google.com/classroom/quickstart/js#authorize_credentials_for_a_web_application - Manipulating elements in the DOM
https://developer.mozilla.org/en-US/docs/Web/API/Element - Object Oriented Programming in Javascript
https://www.geeksforgeeks.org/introduction-object-oriented-programming-javascript/ - Datastructures in Javascript
- Key-value-pair in Javascript
https://www.freecodecamp.org/news/javascript-object-keys-tutorial-how-to-use-a-js-key-value-pair/ - Array of objects (with key-value-pairs) in Javascript
https://www.freecodecamp.org/news/javascript-array-of-objects-tutorial-how-to-create-update-and-loop-through-objects-using-js-array-methods/ - Combining JSON Objects in JavaScript
https://blog.devgenius.io/combining-json-objects-in-javascript-node-js-abe84f492d0
- Key-value-pair in Javascript
- or ask GitHub Copilot