This template is using
ES6+(recommended)Rollupfor bundle and convert to CJS formatFoxx-clito deploy
- A (local) ArangoDB instance
Get a copy of this repository
npx degit samzlab/arangodb-foxx-rollup-starterInstall dependencies
npm installUpdate the scripts (arango:install and arango:update) in the package.json
- database placeholder:
my-database - mount path placeholder:
/my-service-mount-path
Other options can be found in the Foxx CLI repository at https://github.com/arangodb/foxx-cli.
Update the src/manifest.json file to your needs
- Edit your lifecycle scripts in
src/manifest.json - Edit your service code in
src/ - ...
npm run arango:installor if you are updating the service, then
npm run arango:update