This commit is contained in:
Raven Scott 2024-09-19 01:38:42 -04:00
parent 530d7ddb05
commit e718252f74

View File

@ -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