Git Product home page Git Product logo

nhsconnect.ndop-back-end's Introduction

NDOP (National Data Opt-out)

The National Data Opt-out Service is a service that allows patients to opt out of their confidential patient information being used for research and planning, the website project consists of multiple repositories (ndop-back-end, ndop-front-end, ndop-nojs)

NDOP Back End Code

This is the source code repository for the back end portion of the National Data Opt-out Service.

Description

This repository contains a variety of backend lambda functions, including the following:

  • state model lambdas:
    • check-state-model - Lambda used to check a specified state model in ElastiCache
    • delete-state-model - Lambda used to delete a specified state model from ElastiCache
    • get-state-model - Lambda used to get a specified state model from ElastiCache
    • put-state-model - Lambda used to set a specified state model in ElastiCache
    • The state model lambdas are being placed in the same VPC as ElastiCache to control the access to the ElastiCache, any other backend or frontend lambda that needs to read/write to the state model in the ElastiCache can do that through the state model lambdas.

Building the code

To build the NDOP back end code locally

  • clone the repository
git clone https://github.com/nhsconnect/ndop-back-end.git

Running the code

This repository contains the source code for the backend lambdas, and as such, can not be directly run in a local environment and will need to be deployed into AWS.

To run the unit tests from the command line, run:

make unit-test-python-lambdas

Running coverage

To run coverage from the command line, run:

make coverage-python-lambdas

Running pylint

To run linting from the command line, run:

make lint-python-lambdas

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.