TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you structure your Node.js apps?

2 pointsby benigerialmost 12 years ago
I&#x27;m working on building a REST API in Node.js which I will use to power mobile and web apps. I&#x27;m asking for a general structure guide since I haven&#x27;t found anything good online.<p>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.

3 comments

ggordanalmost 12 years ago
You might find this demo project interesting:<p><a href="https://github.com/madhums/node-express-mongoose-demo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;madhums&#x2F;node-express-mongoose-demo</a>
electricheadalmost 12 years ago
Wall of code, baby!
mythrielalmost 12 years ago
check sails.js (<a href="http://sailsjs.org/" rel="nofollow">http:&#x2F;&#x2F;sailsjs.org&#x2F;</a>)