Write a back-end focused secret Santa Rust program (Uni assignment)
Budget: $50 – $100 USD
I need a purely backend focused secret Santa web service that can do the following functions:
Users can create groups.
Users can join groups.
Users can have admin rights in the group.
The user who created the group automatically becomes an administrator.
An administrator can designate another user in a group as an administrator.
An admin can remove admin privileges if there is at least 1 other admin in the group.
An administrator can leave a group only if there is at least 1 more administrator in the group.
Administrator can delete a group.
The administrator can give a command and the service will assign a secret Santa for each group member, choosing from the rest of the group members.
Each member of the group will be assigned secret Santa to strictly one other member of the group.
After that, the group becomes closed, you cannot enter or leave it.
Users can request who in the group they have become a secret Santa for.
Use a database to store data about users, groups and secret Santa's. But you can get away with storing data in memory.
Service must work as HTTP REST with JSON messages.
Write a console utility to communicate with the service.
The service does not need an interface, everything needs to work purely in the console using console commands.
It would be great if the job could be completed as soon as possible (2 or 3 days from posting).
Users can create groups.
Users can join groups.
Users can have admin rights in the group.
The user who created the group automatically becomes an administrator.
An administrator can designate another user in a group as an administrator.
An admin can remove admin privileges if there is at least 1 other admin in the group.
An administrator can leave a group only if there is at least 1 more administrator in the group.
Administrator can delete a group.
The administrator can give a command and the service will assign a secret Santa for each group member, choosing from the rest of the group members.
Each member of the group will be assigned secret Santa to strictly one other member of the group.
After that, the group becomes closed, you cannot enter or leave it.
Users can request who in the group they have become a secret Santa for.
Use a database to store data about users, groups and secret Santa's. But you can get away with storing data in memory.
Service must work as HTTP REST with JSON messages.
Write a console utility to communicate with the service.
The service does not need an interface, everything needs to work purely in the console using console commands.
It would be great if the job could be completed as soon as possible (2 or 3 days from posting).