Code patterns

Roadmaps for solving complex programming challenges.

Patterns give you a 360-degree view of the underlying code, including overviews, architecture diagrams, process flows, repo pointers, and additional reading.

Build a financial stress-test app with natural language generation

Build a stress-testing app for investment portfolios that includes integration with natural language generation to produce detailed portfolio analysis.


Create a rewards program application and APIs

Use Node.js to create your back-end application and generate a set of APIs for your enterprise. Deploy the application on z/OS for best performance and security.


Locate and count items with object detection

This code pattern demonstrates how to use PowerAI Vision Object Detection to detect and label objects within an image.


Create visualizations to understand food insecurity

This pattern walks you through how to educate others about food insecurity with IBM's Data Science Experience, pandas, PixieDust, and Watson Analytics.


Develop hybrid mobile app with cloud-native back end

This developer code pattern gives you step-by-step instructions for developing an Ionic/Cordova hybrid mobile app that securely connects to Cloudant and object storage services via IBM Mobile Foundation.


Predict equipment failure using IoT sensor data

Walk through a prediction methodology that utilizes multivariate IoT sensor data to predict equipment failure.


Automate business processes via blockchain events

Extend your Blockchain application with event handling, so that transactions on the shared ledger can initiate actions automatically. This pattern shows you how to programmatically generate and receive event notifications from the blockchain network.


Classify vehicle damage images

Create a mobile app that takes a picture of vehicle damage and sends it to an insurance company to identify and classify the problem.


Mine insights from software development artifacts

Learn how to build an interactive text analytics solution with customization using IBM Data Science Experience, Python NLTK, IBM Cloud services, Watson services, and Orient DB.


Configure your app using Eclipse MicroProfile Config

Easily configure your application from system properties, environment variables, and more.


Classify art using TensorFlow

Learn how to build your own data set and train a TensorFlow model for image classification on a Kubernetes cluster.


Create a real-time payments application

Learn how to use IBM Cloud finance services to create a real-time payments application. These services are integrated into a web interface that manages the user’s tokens and recipients using the Real-Time Payments service.


Fingerprinting personal data from unstructured text

Build a custom model using Watson Natural Language Understanding and Watson Knowledge Studio.


Build a blockchain insurance app

With its distributed ledger, smart contracts, and non-repudiation capabilities, blockchain is revolutionizing the way financial organizations do business, and the insurance industry is no exception. This code pattern shows you how to implement a web-based blockchain app using Hyperledger Fabric to facilitate insurance sales and claims.


Compute analytics on an investment portfolio

Leverage full revaluation cashflow models in a single line of code to more readily integrate sophisticated analysis into end-user applications.