Reputation:
I will be making an javascript application using either backbonejs or canjs for the frontend and need a server-side language to connect to the database. Would node.js work fine for this?
I cant find any docs on someone trying to use node.js as the backend...
really not trying to use php, rails, asp, etc...
Examples/explanations would be great! Thanks!
Upvotes: 0
Views: 869
Reputation: 6712
Here's a set of links to resources that I've found quite useful.
Basic Node.js and Backbone application
Todos MVC with Backbone, Node.js and MongoDB
Reusing Backhonejs models on server side with Node
Hope this helps.
Upvotes: 2
Reputation: 1995
Yes of course. You could also check out http://www.nodebeginner.org.
Upvotes: 0
Reputation: 3809
You could definitely use node.js for this
Check out express.js for a simple API to deal with your requests. They have some great docs.
Upvotes: 0