druv5319 / Sneaks-API

A StockX, FlightClub, Goat, and Stadium Goods API all in one. This sneaker API allows users to search sneakers and track and compare prices while providing additional info such as product links and images
438 stars 118 forks source link

PORT issue: always conflict with the app PORT #10

Closed sunruoshi closed 3 years ago

sunruoshi commented 3 years ago

The PORT listening is a MUST-HAVE when require this module?

It is always conflict with the app PORT when integrate this module to an web application. How to fix it?

druv5319 commented 3 years ago

If it is being an issue. You can remove it in the index.js file. Let me know if this works.

anonyymous1 commented 3 years ago

Same issue as above, using is for a school project. When integrating with a web application it conflict with app PORT. I have tried to remove the file and then nothing works. Locally works fine.

druv5319 commented 3 years ago

Did you remove the whole file or just that line that references the port?

sunruoshi commented 3 years ago

Did you remove the whole file or just that line that references the port?

My solution is deploy the Sneakers-Api separately and fetch the data from url.