I had the same problem before , and I found out an easier way to accomplish this.
create an empty DIRECTORY and name it hello (In window , mkdir hello)
Get into this DIrectory (cd hello)
execute this command , foxx init -e
This will create the initial files you can start with ( manifest.json, index.js)
Next, you ZIP the directory file hello ( you have to go out 1 level higher to your hello Directory, you can do cd ..)
you can now xompressed ZIP file your Deirectory hello to hello.zip.
LOGIN as root or any user that can access ARANGODB.
GO TO SERVICES > Add Service > Upload > Drag&Drop your hello.Zip file > Install >
Enter a Mount point: /hello > Install
VIOLA you got your /hello Foxx API Services > CLICK on it > API
You can now revise your manifest.json and index.js files to run an API.
Refer to this site to create some simple foxx APIs
CHEERS .... ENJOY....