How do I link a login application developed in angular with node and express server. How do I test (pull) the application to the server.
The server is running normally on port 3000:
var express = require('express');
var bodyParser = require('body-parser');
var port = '3000';
var app = express();
app.listen(port);
app.get('/login.html', function(req, res){
var pessoa = {
nome:'Leandro',
país:'Brasil',
cpf:'457898'
};
res.json(pessoa);
});