I have a problem with my NODEJS API on planetHoster - node.js

I created my very first NODEJS API. Locally, it works well but I just hosted it on planetHoster and it doesn’t work anymore. When I enter my query, I find the error "Cannot GET/Nodev2/idcc/list" then my route was functional locally. Do you have any assumptions? Thank you in advance!
I can share my code if you want see
I tried to change directory/file names

Related

How To Setup Https In Nest js (Official doc solution is not working)

I have two B/E servers and both of them deployed in an SSL environment.
EX:- https://one-xxx.com/ and https://two-xxx.com/
And I have a strategy like this.
https://one-xxx.com/api/v1/get -> https://two-xxx.com/api/v1/get
When My F/E application makes a request to the first E/P and it is going to hit the second E/P (Just like reverse proxy).
When I make a request for this E/P it's returning this error: Error: unable to verify the first certificate.
I google this error and found out what is going on and this solution for nest js. (It's on nest js official doc). But the problem is when I apply those changes to both my B/E server My Error remains the same. I really need your help on this. Thank you!

FormData submit NodeJS returns 503 unavailable

I'm trying to deploy my application to Heroku (as usual) and I keep getting 503 Service Unavailable when trying to upload anything through my router handler (Multer)!
it's not related to any packages since I tried different projects with and without multer and the same return
Hi #Mahmoud Nasr,
Kindly run the nodejs code locally in system and check for any issues.
If it works then the issue is with Heroku server configurations or the
server is not available.
If it not working in local in the first place kindly update the snippet,
let's figure it out.
Regards,
Muhamed

Google Directory API nodejs

I have been trying to make a script in nodejs to take a email and add it to google groups by the api and delleting it after a time i couldn't get it working i have tried everything but could not get it to work any help would be good
thanks in advainc.

Deployed angular project 'GET' request not working

I have an built angular project that I'm trying to run. I have copied the folder that I got from 'ng build' and put it in the folder where I have my back end code (used express). I'm running it on my laptop at port 3000.
While all the post requests in my application work fine, none of the GET requests seem to work.
Here is the exact error I'm getting.
If more information is needed to find out what I'm doing wrong, please ask.
Edit 1:
This is what I'm getting in the network tab. The response says html. But when I was working before deployment all my responses were coming as intended.
After looking into the images that you mentioned here, it look like that is has a http failure duing parsing in header:
Take a look here in order to resolve the same:
https://github.com/angular/angular/issues/18396
Thanks

backboneJS application runs fine in NodeJs but not in any other server?

I was trying to load a json file in Collection of BackboneJS. While trying to run this through nodeJS server, it works fine. But once put in a server environment like XAMPP or even in a remote server it does not work? Any link would be a nice help. ( For reference my code is at github : https://github.com/saumya/backboneJS-basics )
thanks
Hey thanks for the helping hand.
Probably I did not understand the situation, so the question is not correct as I see now.
The modified question is:
I have a frontend Application running on NodeJS server at some port.
I am trying to load JSON from another server running on another server.
The answer of #Floby is the way I solved it. Its the CORS thing on the server which provides the JSON. It took me sometime to understand what is happening.

Resources