This is the API server.
Find a file
2024-07-03 01:28:58 -04:00
.vscode vscodium extension recommendatiosn 2024-06-28 11:46:13 -04:00
src auth using header fixes #9 2024-07-03 01:28:58 -04:00
.gitignore ignore server executable in the root folder 2024-06-28 11:32:43 -04:00
LICENSE Initial commit 2024-06-11 12:51:31 -04:00
README.md auth using header fixes #9 2024-07-03 01:28:58 -04:00
server.nimble add checksum lib for sha3 2024-06-28 11:07:06 -04:00

Glimpse API server

This is the Glimpse API server.

Run test server instance

Install needed libraries:

nimble install jester norm checksums

Compile and run:

nimble run --verbose -d:normDebug

API Endpoints

Each endpoint has comments describing what type of request it is and what parameters it takes. Example requests using cURL:

curl -s -X POST http://localhost:5000/api/v1/register -d 'username=Array' -d 'password=i8Vl8XZaVRiZFsZ'
curl -s -X POST -H "Authorization: <some long hash here>" -F "file=@image.png" http://localhost:5000/api/v1/upload