Skip to content

sairanjit/credo-ts-examples

Repository files navigation

Credo Usage Examples

This repository demonstrates how to use Credo, and leverage all it's features. It is a collection of examples that can be used as a reference for building your own applications. Each example is a standalone application that can be run independently, and tries to showcase a minimal example of a feature within Credo.

Getting Started

Make sure you have the following prerequisites installed:

  • Node.JS 18+ - Install (or use Volta for managing multiple Node installations).
  • pnpm - Install

Then, clone the repo and install dependencies:

git clone https://github.com/sairanjit/credo-ts-examples.git
pnpm install

Running Examples

Once you have installed the dependencies, you can run any of the examples by running the following command:

pnpm example <example-name>

The <example-name> is the directory of the example in the examples directory

Available Examples

See EXAMPLES.md for a list of available examples.

Contributing

If you have an example that you think could be useful to others, and would like to see listed in this repository, feel free to submit a pull request with your example. To make sure examples stay consistent, copy an existing example and modify it to your needs.

After making changes, make sure to run the following commands before opening your PR:

  • pnpm extract-examples
  • pnpm fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published