https://github.com/yuhexiong/http-file-api-typescript
https://github.com/yuhexiong/http-file-api-typescript
api backend file-upload restful-api typescript
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuhexiong/http-file-api-typescript
- Owner: yuhexiong
- Created: 2023-10-06T02:47:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T09:52:30.000Z (over 2 years ago)
- Last Synced: 2025-03-24T20:43:12.539Z (over 1 year ago)
- Topics: api, backend, file-upload, restful-api, typescript
- Language: TypeScript
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# http file API
A server provide upload and download file.
## Overview
- Language: TypeScript
- Web FrameWork: Express
## Install modules
```bash
npm install
```
## Build
```bash
tsc
```
## Run
```bash
nodemon build/server.js
```
## API
* `GET /file/:filename`
* `POST /file/list`
* `PUT /file`
* `PATCH /file/:oldFile/:newFile`
* `DELETE /file/:filename`