-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path15_Node_Server_Database_Server.txt
More file actions
19 lines (15 loc) · 1.03 KB
/
15_Node_Server_Database_Server.txt
File metadata and controls
19 lines (15 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Nodejs Server and Database Server
->Database server:
- A database server is specialized computer program or system that manages the database.
It stores, retrieves and manages data efficiently
- The database sever stores your application's data, when nodejs sever needs the data, it sends request to the database sever,
which then retrieves and sends the requested data back to the nodejs server
- Database server is a special programs which helps to keep the database up (ready for use)
->Node.js server:
- Nodejs server is responsible for handling HTTP requests from clients (like web browsers) and returns responses
- It processes these requests and communicates with the database server and sends data to the clients
Example of basic Architecture of web app:
Reactjs(web) <--> Node.js/Express.js(server) <--> MongoDB (database)
| |
| |
API Calls MongoDB Driver