Skip to content

paulomcnally/loopback-example-multitenant

Repository files navigation

loopback-example-multitenant

Loopback with PostgreSQL Multitenant

Database

Install dependencies

$ npm install

Migration

$ grunt
$ NODE_ENV=demo1 grunt
$ NODE_ENV=demo2 grunt

Run

$ node sever/server.js

Create registry for tenant demo1

$  curl --data "username=paulomcnally&message=Hello world" http://127.0.0.1:4000/demo1/tweets

Browse

http://localhost:4000/demo1/tweets
http://localhost:4000/demo2/tweets

About

Loopback with PostgreSQL Multitenant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published