mySQL/ mongoDB - Creating UML and storing system that fits the needs

During my last computer science class, I got the chance to create my own UML, SQL and mongoDB to fit a university system.
I learned about the different relationships like many to many, one to many; how to securize data and much more...