Giter Site home page Giter Site logo

gp-redirect's Introduction

DEPRECATED - no longer actively maintained


GP redirect

GitHub Release Greenkeeper badge Build Status Coverage Status Known Vulnerabilities

A very simple app to receive requests on a single URL and forward those onto the appropriate page in the profiles app.

It is intended to work with requests from the NHS Choices site on the GP pages, using the id of the GP surgery from the referring page.

Application development

The application runs in docker containers. To start the application ready for development (where changes made on the local host will be auto-reloaded into the running container) run docker-compose up --build --force-recreate gp-redirect. Tests can be run inside a container via docker-compose -f docker-compose-tests.yml up tests. When a container has been finished with it should be taken down via docker-compose down -v. It is important to remove the volumes via -v so as to avoid issues with the contents being cached on the docker VM.

Environment variables

Environment variables are managed by the environment in which the application is run. This is best practice as described by twelve-factor.

The defaults given below are for when the application is run for development via docker-compose, as described above.

Variable Description Default
NODE_ENV Node environment development
LOG_LEVEL Numeric log level INFO
PORT Server port 2999

Architecture Decision Records

This repo uses Architecture Decision Records to record architectural decisions for this project. They are stored in doc/adr.

gp-redirect's People

Contributors

adamgraves-choices avatar beseven avatar greenkeeper[bot] avatar greenkeeperio-bot avatar markysoft avatar neilbmclaughlin avatar st3v3nhunt avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

gp-redirect's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.