frankcollins3 / PHPokedex

react concepts
0 stars 0 forks source link

configuring express, react, typescript together [10:48am] #16

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

API PORT === CLIENT PORT || API PORT !== CLIENT PORT [10:50am]

frankcollins3 commented 1 year ago

Screen Shot 2023-05-06 at 12 42 53 PM

Screen Shot 2023-05-06 at 12 42 48 PM

running server && client on different PORTS

[12:43pm]

frankcollins3 commented 1 year ago

Screen Shot 2023-05-06 at 5 37 56 PM

cant import outside of the src directory. have to find a way to bypass

[5:38pm]

frankcollins3 commented 1 year ago

2 separate URL endpoints 1 for client 1 for express server