I have a friend in a high school computer science course in Texas. This is a course required for graduation and is not a volunteer thing. Apparently, the teacher is having the students develop an official app that the school intends to eventually use. This app deals with collecting and maintaining personal information about students in this particular school, as well as information about what classes they are enrolled in. They are not paying the students to do this. My friend says his entire course grade will be based on this app.
I'm an industry professional programmer, and this sounds extremely illegal to me, for a number of reasons, the first being that inexperienced programmers (kids) are not only being given access to protected information about minors (and thus is extremely likely to be exploitable/leakable), but also that they are being asked to work for the school without pay via threat of not graduating.
I looked briefly at the Texas child labor laws but they only seem to cover willful paid employment, which this is clearly not.
Is this legal?