- Create a NodeJs ExpressJs project.
- There should be separate files for Route, MiddleWare, Config functions
- Create three Databases master, child1 & child2 all contains Master DB Table name customer -> fields -> customer_Id,customer_Name,customer_Mobile,customer_Email,customer_Password,database_Id Child DB Table name customer_address -> fields -> customer_address_Id,customer_address_House,customer_address_Street,customer_address_City
- Insert any 2 data in customer
- Fetch Login data using post api request -> customer_Mobile,customer_Password response -> customer_Id,customer_Name,database_Id
- Fetch Address data using post api request -> customer_Id,database_Id response -> customer_address_House,customer_address_Street,customer_address_City
-
Notifications
You must be signed in to change notification settings - Fork 0
codeincrypt/node-multiple-db
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Multiple MySQL database connection with Node Js
Resources
Stars
Watchers
Forks
Packages 0
No packages published