3 ms·
Ask HN: How do you structure your Node.js apps?
I'm working on building a REST API in Node.js which I will use to power mobile and web apps. I'm asking for a general structure guide since I haven't found anything good online.
My personal use would not consist of any web views, or tempting. It would consist of the data model, connected to a database, and routes for http requests.
- electrichead 13y agoWall of code, baby!
- ggordan 13y agoYou might find this demo project interesting: https://github.com/madhums/node-express-mongoose-demo https://github.com/madhums/node-express-mongoose-demo
- mythriel 13y agocheck sails.js (http://sailsjs.org/ http://sailsjs.org/)