Server-side code of the cbmjs platform.
Code for the server-side of the CallByMeaning Project. You don't need this package to use the project. You can do so by using cbm-api.
For a bit more information on what you can do, check the docs.
git clone https://github.com/cbmjs/cbm-engine.git cbm-engine
cd cbm-engine
npm i
DB_HOST=mongodb://user:pass@host:port/callbymeaning npm start
Default host is http://localhost
and port is 3000 but you can change that by specifying a PORT env variable.
If mongo is local, you only need to specify the name of the database by using the DB env variable, instead of the DB_HOST.
You can use Docker to run the web server too. Just clone the repository, change the DB_HOST
accordingly here and then:
git clone https://github.com/cbmjs/cbm-engine.git cbm-engine
cd cbm-engine
docker build -t call-by-meaning .
docker run -p 3000:3000 call-by-meaning
Run tests via the command npm test