# Event Image Uploader

Small Node/Express app to upload image files into `uploads/` and record metadata in `imagedetails.json`.

Quick start (PowerShell):

```powershell
cd "D:\Node Upload Files\eventImages"
npm install
npm start
```

Upload using curl:

```bash
curl -F "image=@/path/to/image.jpg" http://localhost:3000/upload
```

Upload using PowerShell (Invoke-RestMethod):

```powershell
$File = Get-Item -Path "C:\path\to\image.jpg"
# This sends the raw file; some PowerShell versions require additional multipart helpers.
Invoke-RestMethod -Uri http://localhost:3000/upload -Method Post -InFile $File.FullName -ContentType "multipart/form-data"
```

API:
- POST /upload (form field name `image`) — upload image
- GET /images — list saved image metadata
- GET /uploads/<filename> — served static file
