This repo is a work in progress.
This is a microservice for sending push notifications to users about Transport for London station updates. It works in conjunction with the React Native TFL Notifications application for notification registration.
- MongoDB - Storage for user tokens and stations
- Redis - Queue management for updating station status and sending push notifications.
This project is built using
- Node.js version 8.9+
- Micro - A microservice framework
- Bull - Redis based queue management
- Expo Server SDK - Server side library for working with Expo
These instructions require Docker and will deploy a local instance of MongoDB, Redis, and the Application Server.
The Docker compose file can be found under dev/docker-compose.yml
git clone https://github.com/beauallison/tfl-notification-server
cd tfl-notification-server
npm install
npm run docker