Simple data management system using ruby
We have to manage hierarchy data. Here is the hierarchy :
- Account - {id, name} - Can be multiple Accounts
- Network - {id, name, account_id} - Belongs to an Account.
- School - {id, name, network_id} - Belongs to Network
- UserType - {id, name} - Same UserType can exist in multiple schools
- Users - {id, email, usertype} - User will have UserType & Belongs to a single School.
We stored information in a file. On Restarting the server, it has to have already saved info.
Also added CRUD operation for all of the entities.
Ruby version - 2.7.2