Questions tagged [foxx]

ArangoDB Foxx can serve as a lean application server in any single page application. Create your single page app using the database, JavaScript, HTML, CSS and images, store everything in ArangoDB’s apps directory and voilà–you are done. It’s simple, rapid and all JavaScript.

ArangoDB Foxx can serve as a lean application server in any single page application. Create your single page app using the database, JavaScript, HTML, CSS and images, store everything in ArangoDB’s apps directory and voilà–you are done. It’s simple, rapid and all JavaScript.

133 questions
11
votes
1 answer

What does building an application in Arango Foxx offer beyond a regular node application

I'm learning more about ArangoDB and it's Foxx framework. But it's not clear to me what I gain by using that framework over building my own stand alone nodejs app for API/access control, logic, etc. What does Foxx offer that a regular nodejs app…
Yehosef
  • 17,987
  • 7
  • 35
  • 56
7
votes
1 answer

Getting "ArangoError: bind parameter 'value1' was not declared in the query (while parsing)"

I have such code in my Foxx app: db._query(aqlQuery` FOR d IN FULLTEXT('api_texts', '${args.attribute}', '${args.search}') SORT d.${args.sort_by} ${args.sort} LIMIT ${args.skip}, ${args.limit} RETURN d `).toArray() It seems to be…
artnikpro
  • 5,487
  • 4
  • 38
  • 40
7
votes
1 answer

Why is org/arangodb/request synchronous?

Why is the new JavaScript module request synchronous? Is it supposed to be only used in a job queue? Is there any way to make asynchronous http(s) requests in ArangoDB?
7
votes
1 answer

Does Foxx/ArangoDB Server support Socket.IO?

I was wondering if Foxx/ArangoDB supports Socket.io ? Or would I have to fire a separate Express.js server if I want to use sockets.io ?
Quang Van
  • 11,475
  • 12
  • 57
  • 61
5
votes
1 answer

ArangoDB and user-defined functions or stored procedures

ArangoDB documentation (Foxx section) says: Because Foxx runs directly inside of ArangoDB it lets you bundle all the database queries and logic necessary to handle a request in one place. Is there any additional way, 'more native', than using the…
emecas
  • 1,586
  • 3
  • 27
  • 43
5
votes
2 answers

ArangoDB Foxx as a REST back-end

I am working on an app that would greatly benefit from Arangos' multi-model capabilities. Considering the app needs for the back-end, I have concluded that most, if not all, of it could be served through a REST API as to aid cleaner design for…
GRE2608
  • 51
  • 2
5
votes
1 answer

How to set Foxx App at server root?

I was wondering how to set a Foxx app at the root of the sever/ip/domain name? For example if my IP was 100.12.32.12 if I go to http://100.12.32.12 it'll open the single-page foxx app without URL redirection. Things I've Tried Currently I got…
Quang Van
  • 11,475
  • 12
  • 57
  • 61
4
votes
1 answer

When does arangodb's foxx collects garbage?

What I understand is; Foxx is based on V8 Engine. Foxx is multi-threaded, and it doesn't share state with other threads Foxx's thread will quit (is this the right term?) as soon as it sends the response to client. Aside from V8 Engine's garbage…
HelloWorld
  • 973
  • 2
  • 9
  • 23
4
votes
0 answers

Queries are slower in Foxx microservice

We've noticed significant performance decreases when we move our AQL queries from ArangoDB's own REST API to a custom Foxx microservice. Is this to be expected? For example, if we run a multithreaded load test from a remote machine that asks for…
4
votes
1 answer

ArangoDB and Foxx - multiple query parameters from GET

(sorry for the newbie question, but can't find it easily in documentation) I want to have a document store with a few models, and then use some of the attributes as parameters in queries, in my Foxx services. Say I have a db for movies and series…
4
votes
1 answer

Foxx applications - Remote Debugging / Breakpoints

I'm developing an application using ArangoDB V2.8 + foxx and I need to debug / and running the javascript code with the traditional breakpoints. Is there any foxx option or external framework that allows this?
bvalente
  • 43
  • 5
4
votes
1 answer

ArangoDB/FOXX repositories issue

I'm trying a custom query in a repository on a FOXX app in ArangoDB: /*clinics.js */ 'use strict'; var Foxx = require('org/arangodb/foxx'); var ClinicsRepository = Foxx.Repository.extend({ // Add your custom…
Pavarine
  • 637
  • 3
  • 15
  • 30
3
votes
2 answers

Arangodb, Foxx, and Docker with volume

I'm using ArangoDB and developing a Foxx application. ArangoDB is hosted within a Docker container using this image https://store.docker.com/images/arangodb. I have another Docker container that is running my app front end. I've created a volume to…
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
3
votes
1 answer

Admin-On-REST custom REST client fails to compile

After starting with the Admin-On-REST Tutorial I tried to bind the app to my existing ArangoDB backend with a custom REST-Client implementation. The backend exposes a simple auto-generated "default" FOXX HTTP API. That basically worked with the…
vlabmichl
  • 43
  • 4
3
votes
2 answers

Foxx/ArangoDB: Typescript

I would love to develop foxx applications in Typescript. Can someone point me in the right direction, if this is at all possible? Thanks! Cheers, Gerd
Zambiorix
  • 95
  • 6
1
2 3
8 9