Skip to content

Instantly share code, notes, and snippets.

View Hegabovic's full-sized avatar
😎

Hegabovic Hegabovic

😎
View GitHub Profile
@Hegabovic
Hegabovic / multi-tenancy.md
Created October 27, 2023 21:33
Full Guide for Multi-tenancy with tenancy with laravel package

TenancyWithLaravel

Full Guide Multi-Tenancy Implementation

Multi-Tenancy Implementation With Multi-Database Approach

Introduction

After conducting an extensive two-week search for a comprehensive guide on implementing multi-tenancy within my SaaS project, I regrettably found no fully documented resources. Consequently, I resorted to seeking assistance through Filament's support channels, where I received invaluable assistance from knowledgeable individuals.

@Hegabovic
Hegabovic / app.mjs
Created April 7, 2022 12:47
Lab2 : NodeJS
import { Emitter } from "./constructorFunction.mjs"
let emit = new Emitter();
emit.on("login",function(){
console.log("hello you are logged in");
})
emit.emit("login")
@Hegabovic
Hegabovic / app.js
Created April 6, 2022 12:14
NodeJS: downloading NodeJS and exporting modules
let calc = require("./calcMethod");
let personalData = require("./personData")
// <------------- demo 1 -----------------> //
console.log(calc.math("A",1,calc.add));
console.log(calc.math(1,3,calc.subtract));
console.log(calc.math(1,3,calc.multiply));
// <------------- demo 2 -----------------> //
console.log(personalData("Hegabovic",1995));