Skip to content

add the given list of societies to database #112

Description

@dvishal485
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions