GithubHelp home page GithubHelp logo

ministryofjustice / operations-engineering-metadata-poc Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 287 KB

PoC For Cross Identification Between MoJ Services • This repository is defined and managed in Terraform

License: MIT License

Python 62.25% Dockerfile 1.17% Smarty 5.32% HTML 31.26%
operations-engineering

operations-engineering-metadata-poc's Introduction

Metadata PoC

repo standards badge

⚠️ Please do not deploy this application to a Production Environment - read the Web Application Security Assessment for more information.

This Proof of Concept (PoC) is to demonstrate the feasibility and value in having an API the enables the ability to identify users across multiple Ministry of Justice (MoJ) tools and services

🚀 Development Quick Start

This section will detail the specifics of working with the Python Flask API and how to get the application running locally 🧑‍💻

✅ Pre-requisites

Before developing/testing locally, ensure you have the following tools installed

  • python3
  • docker
  • docker-compose

🐳 Using Docker-Compose

To enable the provisioning of a quick local environment, the repository comes with the following docker-compose files:

docker-compose-full.yaml

To spin up the entire application you can use the docker-compose-full.yaml, for example

docker-compose -f ./docker-compose-full.yaml up --build -d

This is useful for quickly testing the application locally 🧪

docker-compose-local.yaml

To only spin up the application infrastructure, but not the application itself, you can use the docker-compose-full.yaml, for example

docker-compose -f ./docker-compose-local.yaml up --build -d

This is useful for setting up the infrastructure of the application, enabling the actual application to be started in a debug setting (typically using a IDE) 🐛

🐍 Using Flask

You can run the application through flask by using the following command

flask run --host 0.0.0.0

NOTE: 👆 This will throw an exception if a local database is not running

🧪 Running Tests

python -m pytest -v

operations-engineering-metadata-poc's People

Contributors

peppermoj avatar connormaglynn avatar jasonbirchall avatar github-actions[bot] avatar

Watchers

Gareth.m.Davies avatar Paul Wyborn avatar  avatar tam avatar

operations-engineering-metadata-poc's Issues

🧪 Ensure Full Test Coverage

User Need

As a
I want
so that

Value

Functional Requirements:

Non-Functional Requirements:

Acceptance Criteria:

Notes:

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.