/test-foxx

Primary LanguageJavaScriptApache License 2.0Apache-2.0

hello-world

A simple Hello World Foxx service

License

The Apache-2.0 license. For more information, see the accompanying LICENSE file.

how to run

npm i -g foxx-cli // install the cli from here https://github.com/arangodb/foxx-cli
docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=openSesame arangodb/arangodb:3.7.12
echo openSesame > .password
foxx install -p .password --server http://localhost:8529 --dev /hello // to install the foxx service

to update the server with new changes, run
foxx -p .password upgrade /hello

to view the request, run postman at this url http://localhost:8529/_db/_system/hello

note you need a file containing the password of the server in plain text.
see here for documentation. https://changelogs.md/github/arangodb/foxx-cli/