DSGT-DLP / Deep-Learning-Playground

Web Application where people new to Deep Learning can input a dataset and toy around with basic Pytorch modules without writing any code
MIT License
24 stars 8 forks source link

localhost proxy fix + SWC compilation #952

Closed karkir0003 closed 1 year ago

karkir0003 commented 1 year ago

localhost proxy fix + SWC compilation

What user problem are we solving? dlp frontend took too long to load on my end in windows and /api/training/test route gave me 500 error due to proxying issue. What solution does this PR provide? From searching in stackoverflow, it was discovered that I needed to use 127.0.0.1 instead of localhost and when I made that switch within next.config.js under the proxy field, the api request gave 200 and I was able to see the dashboard Testing Methodology Spun up DLP locally and monitor network logs for the /api/training/test endpoint and see if status code of 200 is returned.

Any other considerations informing the rest of the team!

Solves #951