Skip to content

A Symfony implementation of multitenant restful api backend

Notifications You must be signed in to change notification settings

wnoveno/multitenant-api

Repository files navigation

A Multitenant API Boilerplate

A Multitenant API Boilerplate built on Symfony4

Build Status

  • Uses JWT for authentication
  • Protected and unprotected routes

Usage

Unprotected Routes

https://[tenant1].domain.com/validate https://[tenant2].domain.com/validate

Protected Routes are under the /api route

https://[tenant1].domain.com/api/users https://[tenant2].domain.com/api/users

Request Header should contain the Auth token from received /login

Authorization : Bearer [token]

Multitenant Code is under

src/Multi

Custom API Code should be under

src/Api

Creating a new tenant

./tenant.sh [tenant_name]

Updating Tenant after change to entities

./update_tenant [tenant_name]

About

A Symfony implementation of multitenant restful api backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published