It will be replaced with a django based project, that will be open sourced at some point.
This project is the backend part of the Tageler app, which is created for Pfadicorps Patria Bern. Its purpose is to provide the possibility to manage so-called 'tagelers', thus events for members of the Pfadicoprs Patria Bern.
- Install NodeJS
- Install and run MongoDB
- Alternatively: Use docker
git clone https://github.com/tageler/tageler-api.git
cd tageler-api
npm install
gulp
Run tests with
npm test
or
bash ./node_modules/mocha/bin/mocha
if in package.json the script
"scripts": {
"test": "mocha"
}
is missing
Variable | Description | Default |
---|---|---|
MONGODB_PORT_27017_TCP_ADDR | MongoDB hostname, the ip/host this points to needs to run MongoDB on port 27017 | localhost |
MONGODB_DATABASE_NAME | Name of MongoDB database to use for tageler | tageler |