This project is a file upload systtem.
Endpoint: /file/upload
Method: POST
Allows the upload files to system. You can upload files by multipart/form-data, application/json etc.
Endpoint: /file/list
Method: GET
Returns names of all uploaded files.
Endpoint: /file/get
Method: GET
Returns informations about given filename.
Query:
filename
(string): The name of the requested file.
Endpoint: /file/delete
Method: DELETE
Delete a file according to given filename.
Query:
filename
(string): The name of the requested file.
- Native Node.js (Zero Dependency)
- TypeScript
- Https (Self Signed SSL)
- Supertest
- Jest
The system is built using Node version v20.11.1.
- Normally important information such as
cert/cert.pem
andcert/key.pem
should not be added to GitHub projects, but I added it so that the application can be run by everyone. - Additionally, unit tests have been written for APIs.
- Clone the repository:
git clone https://github.com/kmlcnclk/file-upload-system.git
- Install dependencies:
cd file-upload-system npm install
- Run the application:
npm run dev
Feel free to submit issues or pull requests for improvements and bug fixes.
This project is licensed under the MIT License.
This documentation provides a comprehensive guide to using the APIs within our cryptocurrency trading system. For further details or support, please refer to the project's GitHub repository.