1
vote
2answers
41 views

restricting access to all routes but one

I'm starting to experiment with expressJS + angularJS and i've run into a stressful situation. My goal is to have one login page and one dashboard page, and using passport + mongodb i'll authenticate ...
0
votes
0answers
12 views

socket.io emit doesn't work in qupzilla

I've wrote a simple app and tested in Chrome. All works fine! Now I'm testing with qupzilla, but when I trigger the .emit function, nothing happens! From chrome i wrote a thing, the object is updated ...
1
vote
0answers
34 views

Using grunt server, how can I redirect all requests to root url?

I am building my first Angular.js application and I'm using Yeoman. Yeoman uses Grunt to allow you to run a node.js connect server with the command 'grunt server'. I'm running my angular ...
0
votes
1answer
53 views

angularjs index.html in views folder

I have little confusion. Using Nodejs folder structure image is attached. If I put index.html at the root of Client folder than everything is working fine. On the other hand if I move index.html in ...
1
vote
2answers
30 views

Jade lang in a regular web app without node

Is it possible to use Jade in a regular web app without running on Node js? The question may sound crazy as Jade engine is written in node but wanted to find out if it can can be used oustide of ...
0
votes
0answers
38 views

angularJS binding not working

I have a problem with Angular and Jade. I have my index.jade that it looks like this: extends ../layouts/default block content script(type='text/javascript', src='/js/angular.js') ...
0
votes
1answer
71 views

AngularJS - Access node/express session information

I am working on a node application that uses Express and Passport for authentication and authorization, and all of that is working properly. I am stumped, however, on how I would get the current user ...
0
votes
1answer
36 views

Codeigniter too much for only REST service, is there better options? [closed]

I'm starting to build a small ERP web application. Im currently a bit in-between choices for the system that i should use. What i have in mind is that i would do a REST api to pass data from backend ...
0
votes
1answer
50 views

Can express mix html and jade routes?

I want to setup an application where I can write as much html over jade as possible. I don't dislike jade, I just want to write html/angular/node APIs, since I'm learning a lot of technologies at once ...
0
votes
1answer
67 views

templateUrl failed using angularJS with nodeJs..?

I'm trying to fire up this mini app using templeUrl but I can't make it? :( This is the simple code, thanks for yr time!! <!DOCTYPE html> <html ng-app="app"> <head> ...
0
votes
2answers
264 views

AngularJS and nodeJs Express: routes and refresh

My app is "working" fine, but, when I press F5 in browser my problem appears. My app is organized this way: nodeJs + express, in Express I have those routes core.app.get('/', function(req, res){ ...
0
votes
3answers
45 views

Use Node.JS as REST server and web server

I am writing an application with Angular.js and Node.js. There is a client-side app written in HTML & Angular.js that needs a web server like Apache to be online. There is also a server-side ...
0
votes
1answer
26 views

Enable SSL on test node server

I'm trying to adapt the node server included with the angular-seed project to serve SSL. Based on this example where they have: // HTTPS var https = require('https'); // read in the private key and ...
-7
votes
0answers
107 views

What 20% of Javascript does 80% of the work for your apps? [closed]

I have been learning JS for a few months. I have been through multiple tutorials online, read JS books, and build a few sites locally with Nodejs. My end goal is to be able to build web apps with JS ...
0
votes
1answer
109 views

Express Angular - Strange JSON receive from POST

I try to learn Express/NodeJS, I work with c9 ide. To use passport framework for authentication, I try to implement a very simple login form, but when I try to send my login informations to my server, ...

1 2 3 4 5 7
15 30 50 per page