forked from snxraven/ravenscott-blog
update
This commit is contained in:
parent
530d7ddb05
commit
e718252f74
@ -2095,9 +2095,13 @@ const connection = mysql.createConnection({
|
|||||||
```
|
```
|
||||||
|
|
||||||
#### Key Components:
|
#### Key Components:
|
||||||
|
|
||||||
**Express.js**: Handles incoming HTTP requests and manages file uploads.
|
**Express.js**: Handles incoming HTTP requests and manages file uploads.
|
||||||
|
|
||||||
**multer**: A middleware for handling file uploads.
|
**multer**: A middleware for handling file uploads.
|
||||||
|
|
||||||
**cmd-promise**: Used to execute system commands, such as copying the file to the Docker container.
|
**cmd-promise**: Used to execute system commands, such as copying the file to the Docker container.
|
||||||
|
|
||||||
**MySQL Database**: Stores user information, including SSH IDs and keys, to verify upload requests.
|
**MySQL Database**: Stores user information, including SSH IDs and keys, to verify upload requests.
|
||||||
|
|
||||||
#### Upload Logic
|
#### Upload Logic
|
||||||
|
Loading…
Reference in New Issue
Block a user