PoiPoi-Dev / PoiPoi-frontend

MIT License
1 stars 4 forks source link

Connect to Backend with real data #34

Closed DepartureLV closed 2 months ago

DepartureLV commented 2 months ago

Description

Connect to Backend server. Disable multiple feature for current development. By doing that, some parts are conflicted with the development branch since I commented some feature which still available on development branch.

image

Card Link

https://3.basecamp.com/5802516/buckets/37608217/card_tables/cards/7478944000

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist before requesting a review

DepartureLV commented 2 months ago

I resolved the merge conflict and the app works, if you run the server and set the .env file to point to the BE port, everything should work now. you can see the poiDex button along with the hint button. The tag filter will be disabled for now since no tag data has been sent from the backend server.

WE SHOULD NOT ADD ANY NOT RELATED TO THE MAP LOGIC INTO THE MAPCONTAINER FILE ANYMORE SINCE THIS SHOULD NOT BE THE FILE THAT CONTAINS THE OTHER FEATURE LOGIC EXCEPT MAP, MARKER, AND WHATEVER NEED TO RENDER ON THE MAP.

image
dominiksakic commented 2 months ago

@DepartureLV I am getting an cors issue: I am running the server from development I set the Backend to accept; my front end address.

I supplied the frontend with the backend address.

Could you be more specific how to run it?

dominiksakic commented 2 months ago

above ISSUE FIXED @backend, provide your env. variable for the BE without quotations! (I am runnig a mac)

for example FE_PATH ="http://localhost:8000" X FE_PATH = http://localhost:8000 O