Canadian-Geospatial-Platform / geoview-api-geolocator

Wrapper API around geolocator API's
Other
0 stars 7 forks source link

Create proof of concept #6

Closed jolevesq closed 1 year ago

jolevesq commented 2 years ago
jolevesq commented 2 years ago

To showcase the proof of concept, in the public folder, create a basic HTML page who will take the user input then sow on the page the JSON response. Next step will be to implement the github gh-pages so we can have a live demo from the repository.

Next step would be to create the AWS blocks (API Gateway, Lamda function, ...) and implement the basic functionalities in the py file.

Once done, we have the POC. We will validate the structure of our blocks and code then create the Cloud Formation script to automatically generate the AWS block.

Then we will work on the wrapper/schema, then adding new source of geolocation.

jolevesq commented 2 years ago

@David-Henandez-nrcan Once you receive the JSON response from GeoNames API trough our AWS API, please add the url to this issue. Thanks

David-Henandez-nrcan commented 1 year ago

At this point. There is not HTML page to work with. the Lambda function and the API gateway are implemented.

jolevesq commented 1 year ago

@David-Henandez-nrcan the page is existing, we just need to link a text box with the url call.

David-Henandez-nrcan commented 1 year ago

Several services and other elements have been created in the AWS console.

David-Henandez-nrcan commented 1 year ago

url for POC: https://ngnxf545cb.execute-api.ca-central-1.amazonaws.com/dev usable parameters: address={address} ids=(geogratis,mapsgoogle)

Ex. https://ngnxf545cb.execute-api.ca-central-1.amazonaws.com/dev?address=meech&ids=geogratis

The Query and API are now placed in region central-1. Using 'mapsgoogle' id migth return error due to access rights

David-Henandez-nrcan commented 1 year ago

This issue can now be closed. all the bullets are checked. The most recent url to test its functionality is: https://ocni6zoj73.execute-api.ca-central-1.amazonaws.com/dev