Skip to content

Intro

Develop and deploy an example microservices application within OpenShift

Develop an example application with a three-tier microservices architecture and deploy it into a Red Hat OpenShift on AWS, Azure or IBM Cloud. This OpenShift development environment has be pre-configured with a sample SDLC(Software Delivery Life Cycle) using the Cloud-Native Toolkit.

Business Need

In this guide, imagine you have completed an Enterprise Design Thinking Workshop and the result is an MVP statement that defines the desired business outcomes. Use the steps below to help deliver this MVP quickly while following Garage Method best practices.

MVP Statement

An MVP is a first hill. Here's the hill statement for the MVP we're going to build:

  • Who: Distribution employees in each of the regional warehouses

  • What: A secure web application that enables easy access to list of product SKU inventory levels and inventory locations

  • Wow: Make the system appealing and easy to use. Develop it quickly as a minimum viable product. Use the latest managed container runtimes and DevOps best practices to enable post MVP feature improvements. Simulate a release to a Test environment.

Architecture

We will build an application that is made up of microservices in three-tier architecture. Each tier encapsulates a clean separation of concerns. Each app microservice component will be modelled using microservices and use a number of polyglot programming languages and frameworks. Data will be stored in a NoSQL Database.

Architecture

User interface

The user experience for the application has been designed by the design team and this drives the requirements for the development team this is a representation of the final user experience wireframe:

UI Design

Technical Requirements

The Micro services should adhere to the following technical requirements:

  • Microservices
    • Stateless
    • REST APIs
    • Polyglot
  • DevOps with CI/CD (continuous integration and continuous delivery)
    • Use in cluster CI technology to be efficient and secure
    • Use latest GitOps best practices
    • Monitoring and logging
    • Code analysis
    • App security
  • Deployed to Red Hat OpenShift cluster which is based on Kubernetes open source technology
  • Follow the Carbon Design System user experience

Guide

You will approach creating the microservices bottom up, meaning you will start by creating the backend microservice that manages integration with the data persistence and then build out the digital channel using a backend for frontend pattern. Finally, you will add a web UI to the solution.