- list of society shared on whatsapp
- create a getter controller and route
- no requirement of setter controller right now because create/update will rarely be required after initialization and minor changes can be done using mongodb compass directly as of now
- make the interface have fields
name, full_name and a description
interface Society {
name : string
full_name? : string
description? : string
}
- keep description undefined for all soc right now, can be populated later on
- no need to
protect route (should be public api route)
- to add in db, you can simply use ur own mongo instance and then share the same as JSON by exporting from mongodb compass
name,full_nameand adescriptionprotectroute (should be public api route)