I am trying to add a login/register system to my project (phonegap project) so I am following this guide trying to understand how to work in a server side. However I don't really get how to get the system working, nothing in the guide mentions how to setup&run the server so I am kind of stuck.
Can someone please explain to me how do I run the server with the MongoDB,Mongoose and node so that my login database would work? perhaps you can also suggest easier methods I would be glad to hear (I saw something about SQL maybe?)
Thank you :)
Related
I am working on a project, where my application need to generate a report. So I searched for the library that generate report for me and I got "JSreport". Then I started to dig that to get dirt with that.
Now, my requirement is that the application which I'm gonna develop has to be stand alone, but as per my understanding with JSreport, it needs a server to generate a report(i.e. my application has to communicate with the server of JSreport to generate the report), but my application has to work offline. So I am worried about it.
Is there a way to make it work offline without any server? If so, please help me to come-out of this. Or please suggest me a good report generating library that will satisfy my requirements.
Note: My application gonna be with nodejs and electronjs, so please suggest the libraries related to those languages.
Thanks in advance!
You can try set up a local JSReport server from you application.
You should be able to communicate with it sending requests to localhost:${port}. It doesn't require to have internet connection.
See https://jsreport.net/on-prem
I have a web-server with cPanel, but I didn't find the method to make the website properly work. I made an aldomain, updloaded the project, but it doesn't recognise the base css, nodejs server etc... Tha main question is how to run my own server.js file on the server(?!), and how to make it looks like on localhost? Is it possible? If it's not, how can I publish it? I know that I shouldn't send this message here, because it doesn't contain any code, but nobody tells me where can I ask theese kind of questions. Can you tell me this too, please?
Bad news is cPanel doesn't support Node.js. Prof link
Good news is here you can make question without any code.
I am looking for modules that will do Internationalization for node.js application for both server side and client side. I tried working with i18next. It is working fine with server side, but for client side we need to do some more configuration to work out. but it will load files twice. Can you guys please suggest me the npm modules that work in both client side and server side with minimal configurations(i mean easy to configure) and also better performance. If a better npm module exists dont bother about the minimal configuration that i told, just suggest me. Please help me out.
Thanks in advance.
10 months after asking this question, I'm writing an answer.
There is an example which needs almost zero configuration.
The example explains that how to implement i18n (also Intl module) on Node.js.
In this example and approach gives the full control to the developer.
On the other hand it shows using Intl module and Translations in all the JS template systems (like EJS, Handlebars etc.).
I hope this helps to someone.
I have node application that works fine on my localhost, but whenever I try to access it with NGROK from another devcie it shows only the home page but node app does not work, please help me solve this problem,
any help is apreciated.
best reagrds...
Honestly never used Ngrok, but I use http://localtunnel.me/ looks like it does the same, if is not working with this then you should probably share some code to see what is going on
Ok i dont know what is going on here i have 2 working project and some backup project. Which were working before and is working online right now in Heroku.
Today i try to do the normal routine and started node, and now i am getting this error below. I though it might be that i just recently install team-view and that might affect it. But this doesn't seem to be the case because i tried it on a different computer and i get the same error. I have no clue to how to debug this, can someone help me please!!
Change you connection string to
variable = 'mongodb://username:xxx#clusternamecluster-shard-00-00-i548w.mongodb.net:27017,developerbookcluster-shard-00-01-i548w.mongodb.net:27017,developerbookcluster-shard-00-02-i548w.mongodb.net:27017/test?ssl=true&replicaSet=DeveloperBookCluster-shard-0&authSource=admin&retryWrites=true&w=majority';