• structuralize_this [none/use name]
    ·
    2 years ago

    I get what you're saying about the curl. I was thinking it literally would go and fetch the contents of an external website. It's just making a guess, which makes sense.

    The database, webserver, curl thing is interesting too. I'm gonna guess it can emulate flask stuff pretty well. It will probably be good at sql too. sql is actually an applicable concept for auto-generation.

    . Each person has a first name
    . Each person has a last name
    . Each person has a birth date
    . Each person can take one or more classes
    . A person is a teacher.
    . One teacher teaches a class
    . A class can have one or more persons in the class
    

    It should create a person table, with first, last and birthdate. It should create some sort of teacher entity, either as a bool in person, or as some extra attribute table. It should create a class entity with a one to one foreign key with person/teacher. It should created a many-to-one with class to person.