Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eoinsha/seneca-mt-demo

Multi-tenanted microservices demo with Seneca and Mongo
https://github.com/eoinsha/seneca-mt-demo

Last synced: 15 days ago
JSON representation

Multi-tenanted microservices demo with Seneca and Mongo

Awesome Lists containing this project

README

        

Seneca Multi-tenanted Microservices Example
===========================================

Multi-tenanted microservices example with subdomain context and store interceptors. Demo for [Node Dublin November 2015](http://www.nodejsdublin.com).

Read `index.js`, possibly the smallest multi-tenatanted platform in the world...ever. Then, set up some tenant subdomains in `/etc/hosts`:

```
127.0.0.1 localhost a.example.com b.example.com c.example.com d.example.com
```

and run:

```
node index.js
```

with Node 4.2.x

MIT Licenced.