Skip to content

drdrsh/alfehrest_nodejs

Repository files navigation

AlFehrest ArangoDB and NodeJS Server Build Status

An ArangoDB and NodeJS based AlFehrest server side app.

Docker based build

With test data

git clone https://github.com/drdrsh/alfehrest_nodejs.git .
npm install

Then copy database.dist.js into database.js

cp ./settings/database.dist.js ./settings/database.js

Then fire up the docker arangodb container with the data by running the database-server script

sudo ./database-server.sh start 

You should be done by now, to run the tests you need mocha

sudo npm install -g mocha
npm test

To start the server run

npm start

Without test data

git clone https://github.com/drdrsh/alfehrest_nodejs.git .
npm install
cp ./settings/database.dist.js ./settings/database.js
sudo docker run -d -e ARANGO_NO_AUTH=1 -p 8529:8529 arangodb:latest
npm start

Non-docker based build

Before installing you need to have NodeJS and ArangoDB installed.

git clone https://github.com/drdrsh/alfehrest_nodejs.git .
npm install

Create your own ./settings/database.js based on ./settings/database-dist.js then fire up the server

npm start

About

ArangoDB and NodeJS based AlFehrest server side

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published