in digitalocean We have an issue with calling node js api
Budget: $10 – $30 USD
We have an issue with calling node js api. Our vuejs app working find but issue with calling api on Digital Ocean Server.
For vuejs app we have created new app and For nodejs app we have created on droplet .
Here, we have one folder /usr/local/lsws/Example/html/node/app.js. Here, ssl is already installed. But here mongo db is not supporting. We have made our code folder in root folder. And we have run our api here
https://138.68.140.229:8000/api/get-user
And it is running. But it has not ssl(check screenshot). It creates the problem on front end.
https://prnt.sc/SVQ8iCtkprb3
When we run api in our browser than it shows not secured.
So we want the ssl here. After that it can work on front end.
And for vue js we have created the app.
https://prnt.sc/6moW0UBxpmlZ
Please share the solution
https://prnt.sc/SVQ8iCtkprb3
For vuejs app we have created new app and For nodejs app we have created on droplet .
Here, we have one folder /usr/local/lsws/Example/html/node/app.js. Here, ssl is already installed. But here mongo db is not supporting. We have made our code folder in root folder. And we have run our api here
https://138.68.140.229:8000/api/get-user
And it is running. But it has not ssl(check screenshot). It creates the problem on front end.
https://prnt.sc/SVQ8iCtkprb3
When we run api in our browser than it shows not secured.
So we want the ssl here. After that it can work on front end.
And for vue js we have created the app.
https://prnt.sc/6moW0UBxpmlZ
Please share the solution
https://prnt.sc/SVQ8iCtkprb3