is there a way to run/debug the foxx microservice in development machine where ArangoDb is not present

28 views
Skip to first unread message

Vishwa Dany

unread,
Feb 8, 2022, 8:20:02 AM2/8/22
to ArangoDB
Hi,
I am writing a microservice using foxx framework; I have added more code to parse the data read from ArangoDb. Before deploying into ArangoDb server, I need to debug the code to verify the parsing logic; I have tried searching the way to run the foxx microservice locally, how I am unable to find resources related this

Thanks,
Vishwa

Wilfried Gösgens

unread,
Feb 9, 2022, 5:37:07 AM2/9/22
to ArangoDB
Hi,
Its always a good idea to use JSLint / JSHint / ESLint / JSCS to revalidate the source.
Its probably also a good idea to have complex parsing code in a library, and have unit tests that may test it without database connectivity or foxx dependencies.
This can then i.e. be ran inside arangosh as well.
Reply all
Reply to author
Forward
0 new messages