logs service for minelev
All API calls needs an Authorization header with valid jwt
Add a new log
Get a spesific log
Deletes a spesific log
Search logs
Update a logs list of statuses
Get next log from queue
Deletes log from queue
Get number of logs in queue
Get all classes for schoolId
Pong!
You'll need the now-cli installed
- clone the repo
- install dependencies
- add a
.env
file - start the service with now-dev
$ now dev
.env
NODE_ENV=development
MONGODB_CONNECTION=connection-to-a-mongodb-compatible-api
MONGODB_COLLECTION=logs
MONGODB_NAME=minelev
JWT_SECRET=whatever-you-want
PAPERTRAIL_HOST=does-not-matter-in-dev-mode
PAPERTRAIL_PORT=does-not-matter-in-dev-mode
PAPERTRAIL_HOSTNAME=does-not-matter-in-dev-mode
This service is created to run on the ZEIT/Now serverless infrastructure.
Make sure the settings in now.json matches your environment.
Run the deploy script.
$ npm run deploy
or to deploy the demo version
$ npm run deploy-demo
- minelev-web web frontend for MinElev
- minelev-buddy buddy service for MinElev
- minelev-tjommi-api buddy compatible api for MinElev
- minelev-notifications notifications service for MinElev
- minelev-leder web frontend for MinElev - school administration
- minelev-logs-stats statistics service for MinElev logs
- minelev-dashboard dashboard for MinElev