Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.9 KB

File metadata and controls

56 lines (37 loc) · 1.9 KB

***plain specification language examples

Quick start

This repository includes the examples demonstrating ***plain specification language on different use cases and using different implementation technologies.

List of examples:

hello-world/
  golang/
  python/
  react/
pong/
  python/
task-manager/
  react/

Please see README files in respective folders for details on how the examples should be rendered and run.

Prerequisites

Examples require that codeplain client is installed. You can check if you have the client installed using the command:

codeplain

If you get command not found or similar error, you can install the codeplain client using the following command:

curl -fsSL https://codeplain.ai/install.sh | bash

After the codeplain client is successfully installed, you can render ***plain specification files to software code using the command:

codeplain name_of_specs_file.plain

Additional Resources

Documentation

Configuration file

Examples include a config.yaml file that is used to provide per-project (per example) configuration for the codeplain CLI. config.yaml can include all CLI parameters, so you can keep example-specific flags/settings versioned with the project.

Scripts

Folder scripts contains scripts used by *codeplain platform to run unit and conformance tests against these examples.