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.

Create a customer loyalty program with blockchain

Create a blockchain application for a customer loyalty program with members and partners on the same network.

Build an iOS game powered by Core ML and Watson Visual Recognition

Use Watson Visual Recognition and Core ML to create a Kitura-based iOS game that has a user search for a predetermined list of objects.

Deliver optimized, personalized search results

This pattern demonstrates a methodology to personalize search results by identifying clear-cut affinities/preferences across various categories customers have ordered from.

Determine target audience and run marketing campaigns

Pattern demonstrates the methodology to determine target audience and run marketing campaigns using Watson Studio and Watson Campaign Automation.

Track donations with blockchain

Create a blockchain network for validating pledges and tracking funds made by the government for humanitarian causes.

Detect, track, and count cars in a video

Use automatic labeling to create a model from a video, then use the model to annotate a video.

Develop a web-based mobile health app that uses machine learning

Deploy and use a web-based health app on your smartphone using Watson services on IBM Cloud and IBM Watson Studio.

Deploy Hyperledger Fabric network on IBM Cloud

Get started with blockchain by deploying the blockchain network on Hyperledger Fabric using Kubernetes APIs on the IBM Cloud Kubernetes Service.

Classify ICD-10 data with Watson

A simple web app shows how Watson's Natural Language Classifier (NLC) can classify ICD-10 code.

Integrate RabbitMQ and Redis Cluster with a blockchain network

Check out how to control the flow of requests to a blockchain network using RabbitMQ and Redis Cluster.

Create a web app to analyze and visualize IoT device data

Create an application to view trends of IoT device data across days and other statistical plots to analyze the data.

Develop an IoT asset tracking app using Blockchain

You can use this code pattern to to track environmental conditions for a food safety supply chain, refrigerated medical supplies, garden plant shipments, or any perishable shipment that are sensitive to the temperature, humidity, vibration, or time.

Use IoT dashboards to analyze data sent from a Blockchain network

Build an IoT app that stores, processes, and analyzes data from a Blockchain app and sends the data to be displayed in IoT dashboards.

Load test your blockchain network

Load test your blockchain application by submitting a large number of enroll, invoke, and query requests, then viewing the results in MongoDB.

Create an app to get stock information, prices, and sentiment

Use IBM Watson Discovery, CloudantDB, Node.js, and Alpha Vantage to create a web app to monitor sentiment, price, and news for individually listed stocks.