Posts by Fernando Paz • 158 points
6 posts
-
1
votes9
answers15601
viewsA: 'nodemon' is not recognized
The command you must run for the nodemon to recognize your server is: nodemon SeuArquivoDeServidor.js You can see in this tutorial here. If you want you can also specify in your package.json file…
-
0
votes2
answers101
viewsQ: Rust installation error in windows 10
I am taking my first steps in the language. I have read much of the documentation and decided to install it on my machine. I lowered the rustup-init here. However, when I run the installer I have…
rustasked Fernando Paz 158 -
0
votes1
answer285
viewsA: How to use Datatable Plugin (Jquery) with Node.js
I found the right solution. <script> //Atribui a variável Lista o array de objetos que retorna do backend var Lista= <%- JSON.stringify(lista) %>; var TableDados = null; $(function () {…
-
2
votes1
answer575
viewsA: How do I display table data (HTML) from a database through JSON Express?
You can use the ejs engine, use a callpassar of the object array directly into the view, and then display each with jquery’s Datatables. app.get('/lista', (req, resp) => { execSQLQuery(sqlQry,…
-
0
votes1
answer285
viewsQ: How to use Datatable Plugin (Jquery) with Node.js
I am working with Node and express and need to fill a table with information that comes from an SQL Database. I run my get code from the page that way: app.get('/Home.ejs', (req, resp) => {…
-
1
votes1
answer739
viewsA: How to receive a post or get request with typescript?
You can use Node.js and express.js to receive post and get. Install the express like this: npm install express declare a variable to receive the express() var express = require('express'); var app =…