All Projects → sonalake → generator-jhipster-multitenancy

sonalake / generator-jhipster-multitenancy

Licence: other
A JHipster blueprint for creating multitenant applications

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to generator-jhipster-multitenancy

tutorials
Code samples for tutorials blog
Stars: ✭ 49 (-37.97%)
Mutual labels:  springframework
spring-data-jdbc-repository
Spring Data JDBC generic DAO implementation in Java (more up-to-date fork)
Stars: ✭ 123 (+55.7%)
Mutual labels:  springframework
spring4-hibernate5-example
Spring 4 and Hibernate 5 integration example using annotations.
Stars: ✭ 16 (-79.75%)
Mutual labels:  springframework
extdirectspring-demo
Sample applications for ExtDirectSpring
Stars: ✭ 18 (-77.22%)
Mutual labels:  springframework
gro-light-automation
A raspberry pi project to automate hydroponics with relays and data sensors through a web application
Stars: ✭ 44 (-44.3%)
Mutual labels:  springframework
clojure-spring-cloud
Clojure Spring Cloud Sample
Stars: ✭ 33 (-58.23%)
Mutual labels:  springframework
thinking-in-spring
Spring source code reading
Stars: ✭ 105 (+32.91%)
Mutual labels:  springframework
loterias-api
API de Resultados das Loterias CAIXA
Stars: ✭ 52 (-34.18%)
Mutual labels:  springframework
opa-java-spring-client
Simple Spring client for working with the Open Policy Agent
Stars: ✭ 19 (-75.95%)
Mutual labels:  springframework
spring-boot-mongo-docker
Spring Boot, Mongo and Docker. Run all with a single command.
Stars: ✭ 16 (-79.75%)
Mutual labels:  springframework
docker-api-graphql
GraphQL API wrapper around the Docker Remote API. SpringBoot-based app, written in Kotlin
Stars: ✭ 13 (-83.54%)
Mutual labels:  springframework
online-shopping
This is an online shopping project using Spring Boot,Spring web-flow, Spring Rest Services and Hibernate. In this project we also used Spring Security with java and annotation configuration
Stars: ✭ 34 (-56.96%)
Mutual labels:  springframework
spring-boot-annotation-list
Curated list of frequently used annotations in Spring Boot applications
Stars: ✭ 42 (-46.84%)
Mutual labels:  springframework
Spring
Personal notes of preparation to Spring 5 Professional Certification
Stars: ✭ 35 (-55.7%)
Mutual labels:  springframework
spring02
Spring MVC 연습
Stars: ✭ 17 (-78.48%)
Mutual labels:  springframework
spring-script-repositories
Spring library for script execution repositories management
Stars: ✭ 31 (-60.76%)
Mutual labels:  springframework
Spring5Certification
Spring Certification: This repository contains my examples and some best references to prepare the Spring 5 certification
Stars: ✭ 30 (-62.03%)
Mutual labels:  springframework
citesphere
Citation management app that sits on top of Zotero
Stars: ✭ 17 (-78.48%)
Mutual labels:  springframework
KotlinPrimavera
Spring support libraries for Kotlin
Stars: ✭ 83 (+5.06%)
Mutual labels:  springframework
JavaEE-projects
存放一些自己写的还有从不同开源社区fork下来的JavaEE项目,其中就不乏一些很多企业单位都在用的源码。
Stars: ✭ 43 (-45.57%)
Mutual labels:  springframework
Greetings, Java Hipster!

generator-jhipster-multitenancy

NPM version Build Status Dependency Status License

A JHipster blueprint for creating multitenant applications

Introduction

This is a JHipster blueprint for creating multitenant applications. The blueprint will:

  • Generate a JHipster application
  • Generate a Tenant entity
  • Make the User, and any other entities, tenant aware

Table of contents

Prerequisites

As this is a JHipster blueprint, we expect you have JHipster v6.3.1 (newer versions are not yet supported) and its related tools already installed:

Installation

With NPM

To install this blueprint:

npm install -g generator-jhipster-multitenancy

To update this blueprint:

npm update -g generator-jhipster-multitenancy

With Yarn

To install this blueprint:

yarn global add generator-jhipster-multitenancy

To update this blueprint:

yarn global upgrade generator-jhipster-multitenancy

Usage

Generate Multitenant Application

To generate your JHipster Multitenant application using the blueprint, run the below command

jhipster --blueprints multitenancy

Making an entity tenant aware

Once the blueprint has generated your application, a tenant entity has been created. All entitites created now can be made tenant aware. Create a new entity using the standard JHipster command.

jhipster entity Book

Upon generation, you will then be asked if you want to make your entity tenant aware.

Do you want to make Book tenant aware? (Y/n)

Running A Development Version

During development of blueprint, please note the below steps. They are very important.

  1. Link your blueprint globally

Note: If you do not want to link the blueprint(step 3) to each project being created, use NPM instead of Yarn as yeoman doesn't seem to fetch globally linked Yarn modules. On the other hand, this means you have to use NPM in all the below steps as well.

cd multitenancy
npm link
  1. Link a development version of JHipster to your blueprint (optional: required only if you want to use a non-released JHipster version, like the master branch or your own custom fork)

You could also use Yarn for this if you prefer

cd generator-jhipster
npm link

cd multitenancy
npm link generator-jhipster
  1. Create a new folder for the app to be generated and link JHipster and your blueprint there
mkdir my-app && cd my-app

npm link generator-jhipster-multitenancy
npm link generator-jhipster (Optional: Needed only if you are using a non-released JHipster version)

jhipster -d --blueprints multitenancy

Sample Applications

If you would like to see sample apps for this multitenancy blueprint, check out our sample Angular and REACT apps.

License

Apache-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].