arangodb - Arango/Foxx server static file -


after though arango doc's not find clear how server html file. case planning using arango server file nginx better job arango hold data need known if page should legal.

controller.get('/:id', function (req, res){   var id = req.urlparameters.id;   if(res.json(db.tire_user.byexample({"uid":id}).toarray()[0]);){       //here needs server static html file   } }) .pathparam('id', useridschema); 

currently proposed way load contents of file disk using fs module: https://docs.arangodb.com/modulefs/index.html


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -