Skip to content
/ SAS Public

NodeJS based multiple tenant supported SAAS web-application Framework.

Notifications You must be signed in to change notification settings

gijs/SAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete SAS

A Complete multi tenant supported SAAS web-application framework, which will have the following main modules.
1. Authentication, Autorization Framework.
2. Multi Tenanant Support.
3. Custom UI option.

License : MIT (http://www.opensource.org/licenses/mit-license.php) license.

Architecture:-

	
	All the session information is stored in Redis cache, on each request from client we check the req.session.user is exist and check the neccessary permissions for particular operation.

	req.session.user.tenant_id will be used to form all the DB quries to get the data specific to Tenant.


Usage :

1. Run the following command from the home SAS folder, this will install all the dependencies.
    
    npm install -d

2. If the Native parser error is coming go to the node_modules/mongodb and compile the source with the following command.

	./make
	
3. Install MongoDB and start the Mongo DB in default port, if you want to change the port edit db/generic_dbutils.js and configure your port.

4. Dump the tables and rows present in the quries.txt file.

5. Install Redis ad start the redis server in default port if you want to change the port use the redis.conf.

6. use the follwoing command to start the server.
	node start.js

TODO: 
	1. MongoDB cluster implemantation.
	2. Redis server cluster implementation.
	3. Webserver Cluster implementation

About

NodeJS based multiple tenant supported SAAS web-application Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published