Skip to content

beauallison/tfl-notification-server

Repository files navigation

TFL Notification Server

Build Status Coverage Status

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.

Infrastructure Requirements

  • MongoDB - Storage for user tokens and stations
  • Redis - Queue management for updating station status and sending push notifications.

Dependencies

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

Local Setup

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

About

Transport for London push notification server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published