Skip to content

Commit 60d3346

Browse files
committed
add readme.md for how to use this app
1 parent 0cb23a6 commit 60d3346

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1-
# nodejs-excel-db-input
1+
# Node.js Excel Database Input
22
A node.js rest api for db input by excel.
3+
4+
## Running the exmaple
5+
6+
To run this exmaple, from the root of this project:
7+
8+
```
9+
docker-compose up
10+
```
11+
12+
## Data Input
13+
Post excel file to the webservice.
14+
15+
```
16+
POST /urls HTTP/1.1
17+
Host: localhost:8000
18+
Cache-Control: no-cache
19+
Postman-Token: 8c08a9c5-8c9e-08a2-fba4-3357dc5c3180
20+
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
21+
22+
------WebKitFormBoundary7MA4YWxkTrZu0gW
23+
Content-Disposition: form-data; name="rawdata"; filename="test.xlsx"
24+
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
25+
26+
27+
------WebKitFormBoundary7MA4YWxkTrZu0gW--
28+
```

0 commit comments

Comments
 (0)