I have performed some query operations in nodeJS with mySQL and now I want to have a reactJS form to be embedded with it to display the results on web page. Can anyone give an idea how can I achieve the same? var mysql = require('mysql'); var con = mysql.createConnection({ host: "localhost", user: "root", password: "", port: '3307' }); con.connect(function(err) { if (err) throw err; console.log("Connected to mySQL"); con.query("CREATE DATABASE testNodeDB", function(err, result) { if (err) throw err; console.log("Database created by Jawad.."); }) }); con.connect(function(err){ if (err) throw err; console.log("Database connected finally.."); var sql = "CREATE TABLE customers_primary_key (id INT …

Member Avatar
Member Avatar
+0 forum 1

What are cool stuff that you can create with NodeJs? And is there tutorial for that? I heard that NodeJs can create something like JivoChat , is that true?

Member Avatar
Member Avatar
+0 forum 1

I am implementing **Attribute Based Access Control** in angular typescript application with rails server. I've searched for different solutions like followings but could not manage to implement cause of unclear solutions. 1. [Custom Roles Based Access Control RBAC in ASP NET](https://www.codeproject.com/Articles/875547/Custom-Roles-Based-Access-Control-RBAC-in-ASP-NET) 2. [simple attribute based access control with spring](https://dzone.com/articles/simple-attribute-based-access-control-with-spring) The solution points to create a method for checking objects and its permissions list like this public boolean check(Object subject, Object resource, Object action, Object environment) 1. Subject is the entity (mostly a user) that requests access 2. Resource is the entity to be accessed (e.g. file, database record, Store Information, …

Member Avatar
Member Avatar
+0 forum 5

I'm learning nodejs(and I like it!). I tried to figure out how to have shorter alias for `console.log` and I found out that I can use `var cout=console.log` and use `cout('[string]')` from then on. Then when I wanted to use `process.stdout.write` and I tried to make a short alias for it too, using `var out=process.stdout.write`. But when I use `out('[string]')`, I get the error shown in the image below. ![Screenshot_from_2017-04-12_11-16-05.png](/attachments/large/1/c79eb44de10fda499074692c6dd26f3d.png "align-center") What is wrong here? How can I correctly create a short alias for `process.stdout.write`? Thanks

Member Avatar
Member Avatar
+0 forum 1

Hi, I'am working with a web company's ressources management project in symfony2 and angularJs with XAMP,I want to add real time services to my web application,my question is,nodejs is it the right choice for this kind of applications?and what's the utility of angularJS two way data binding in this case thank a lot for help :)

Member Avatar
+0 forum 0

hi everybody... i'm creating some educational based website in which students results r displayed. but i'm willing to send result to there mail plz visit https://github.com/shaan7/vturesults can anyone explain how to use this code files in my database and made it to work in my website(similar to http://vtu.shaan7.info/)

Member Avatar
Member Avatar
-1 forum 3

Okay, here's the deal. I have 3 webpages - the first one is a login page with two inputs (for username and password) and a submit button, the 2nd one is a page that requests from the server a list of users, and then displays them on the page, the third one is a page that says that user already exists with a button that sends the user back to webpage 1 I have two questions that need to be answered. 1) I have a simple if statement that verifies that the data the user has submitted does not already …

Member Avatar
+0 forum 0

i have project in that when the user logged in he/she has to get the messages by notifications using nodejs . suggest me with the code

Member Avatar
Member Avatar
+0 forum 1

Hi guys Happy New year. I miss you all :), that is just by the way. I am thinking of building a CMS with nodejs ana i will like your take on it? First of all i have seen other simlly projects but they are all fixed in the type of database they use and also other things. Now this is my proposal: like any other CMSs it should be data driven more like drupal structure but with real time feature, like, knowing who is online and who is posting a comment right from the box. also the ability to …

Member Avatar
+0 forum 0

The End.