Loki is a tool for distributing SMS and Email messages to groups of subscribers by geographical subscription areas.
Developed at Open Lab, Newcastle University as an open-source project to support new and upcoming research projects.
Name | Contribution | Contact |
---|---|---|
Edward Jenkins |
Lead developer |
edjenkins.co.uk, @edjenkins91 |
Draft messages and allocate them to one or more subscription groups before dispatch at a later date.
Create subscription groups to manage delivery of messages tailored by location, time and state.
- Vue.js frontend which communicates with a vanilla Express node.js server.
- node.js - nodejs.org
- Vue.js - vuejs.org
- Express - expressjs.com
- Webpack is used to build front-end
- Webpack - webpack.js.org
- Caddy server for automatic SSL and domain configuration.
- Caddy - caddyserver.com
Start by pulling this repository and creating the required .env to store private keys/passwords/secrets (use the examples provided).
cp ./example.env ./.env
cp ./api/example.env ./api/.env
Install node dependencies from npmjs.com for client and server.
cd app && npm install
cd ..
cd api && npm install
docker-compose up -d
docker-compose logs -f [CONTAINER_NAME]
# Move into app directory
cd app
# Serve app with hot reload enabled (localhost:8080)
npm run dev
Please feel free to pull the code and add to it where you see fit. If you do anything interesting tweet me @edjenkins91