For this ticket, we worked on refactoring the code so that the Side Panel was a component that we could call in a new side panel page. We also worked on connecting to the MongoDB database and implemented the post and get requests for the hexagons. We also created the schema for the provinces (and county) and began the implementation for the post and get requests, but due to a connection issue to the server, the full request hasn't been completed.
Testing
Connecting to the server: npm start
Can run curl http://localhost:8080/api/hexagons to send an HTTP GET request and curl -X POST <URL> \ -H "Content-Type: application/json" \ -d '<DATA>' for a HTTP POST request.
Impact
The refactoring helps clean up the code and introduces a way to more easily use components and trace the implementation. The post and get request contributes towards the hexagons that we will later see implemented on the map.
Notes
There were issues with connecting to the server, so we weren't able to get the post and get request working for provinces.
Overview
For this ticket, we worked on refactoring the code so that the Side Panel was a component that we could call in a new side panel page. We also worked on connecting to the MongoDB database and implemented the post and get requests for the hexagons. We also created the schema for the provinces (and county) and began the implementation for the post and get requests, but due to a connection issue to the server, the full request hasn't been completed.
Testing
Connecting to the server:
npm start
Can runcurl http://localhost:8080/api/hexagons
to send an HTTP GET request andcurl -X POST <URL> \ -H "Content-Type: application/json" \ -d '<DATA>'
for a HTTP POST request.Impact
The refactoring helps clean up the code and introduces a way to more easily use components and trace the implementation. The post and get request contributes towards the hexagons that we will later see implemented on the map.
Notes
There were issues with connecting to the server, so we weren't able to get the post and get request working for provinces.