Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Create endpoint in backend to retrieve locations/opportunities data #3

Open
mahekagg opened this issue Jan 13, 2023 · 0 comments
Open

Comments

@mahekagg
Copy link
Collaborator

-endpoint will retrieve all data for locations and opportunities

  • write unit tests
  • GET api/v1/map/sites
  • "type": "FeatureCollection",
    "name": "sites",
    "features: [
      {
        "type": "Feature",
        "properties": {
          "id": INT,
          "name": STRING,
    

"resources": [{resource_id, name, description, amount, type}]
"opportunities": [{id, name, description, organizer name, organizer email}],

  },
  "geometry": {
    "type": "Point",
    "coordinates": [
      LONG,
      LONG
    ]
  }
},
...

]
}```

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant