You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Image Server
|
|
|
|
|
|
|
|
## setup
|
|
|
|
|
|
|
|
```
|
|
|
|
sh <(curl https://pkgx.sh) +pnpm sh
|
|
|
|
pnpm install
|
|
|
|
# manually set the AWS_ variables inside the .env file
|
|
|
|
```
|
|
|
|
|
|
|
|
## dev
|
|
|
|
|
|
|
|
```
|
|
|
|
node server.js
|
|
|
|
```
|
|
|
|
|
|
|
|
## test
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -X POST -F "image=@./test.png" http://localhost:3000/image
|
|
|
|
```
|