Realm application code and sample data for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection. The web app allows agencies to gain insights from the aggregated information.
Apache License 2.0
23
stars
9
forks
source link
Create guest developer user & agency for Hacktoberfest #136
This functionality is to support users creating their own agency-admin user in a shared instance of the O-FISH Realm app.
There is a matching web issue for this feature: https://github.com/WildAid/o-fish-web/issues/197
Create new function
regNewAgency
:Agency
document with the same name, return with an error that the "Agency already exists"Agency
collectionUser
document with the same email address, return with an error that the "User already exists"User
collection