admin管理员组文章数量:1356373
I'm looking for resources on how to write a multi-tenant application in Node.js. Can anyone guide me in the right direction? Thanks.
Here's my technology stack:
- Node.js
- Express.js
- Mocha.js
- Postgres SQL
- JavaScript
- HTML5
I'm looking for resources on how to write a multi-tenant application in Node.js. Can anyone guide me in the right direction? Thanks.
Here's my technology stack:
- Node.js
- Express.js
- Mocha.js
- Postgres SQL
- JavaScript
- HTML5
- 2 what does "multi-tenant" mean? Are you talking about hosting several domains/apps at once? – chovy Commented Dec 20, 2012 at 21:35
- By multi-tenant I mean have one central application which is accessible by tenants through sub-domains. The database is shared. Each tenant will then have it's own users. I'm basically developing a SaaS service. – jsf Commented Dec 21, 2012 at 15:04
- 2 take a look at virtual hosts github./visionmedia/express/blob/master/examples/vhost/… You can create more than one app and share some part of the system such as the database connections. – jackdbernier Commented Apr 22, 2013 at 23:40
- @jsf Did you get any lead? Can you point me to some useful resources? I am at the same point where you were right now :). Let me know if you can help. Thanks! – Suresh Mainali Commented Aug 11, 2018 at 9:00
1 Answer
Reset to default 3a pretty plete StackOverflow answer can be found here:
How to make Node.js Multi-tenant for websites on port 80?
also jackdbernier has a good answer about vhosts within expressJS.
本文标签: javascriptHow to develop a multitenant application with Nodejs (expressjs)Stack Overflow
版权声明:本文标题:javascript - How to develop a multi-tenant application with Node.js (express.js)? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744040032a2580490.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论