Featurevisor

Project

Examples

Example projects

You can find example projects on GitHub in the examples directory.

Default project

By default, initializing command will locally check out the example-yml project. As the name suggests, it uses YAML files.

$ mkdir my-project && cd my-project
$ npx @featurevisor/cli init

Specific example

You can also initialize a specific example project by passing the --example flag.

For JSON:

$ npx @featurevisor/cli init --example=json

For TOML:

$ npx @featurevisor/cli init --example=toml

SDK examples

The following repositories show Featurevisor in complete applications. They use published SDK packages and load datafiles produced by a Featurevisor project.

JavaScript applications

ApplicationExample
Node.jsfeaturevisor-example-nodejs
OpenFeature for Node.jsfeaturevisor-example-openfeature-nodejs
Express.jsfeaturevisor-example-expressjs
Next.jsfeaturevisor-example-nextjs
Nuxtfeaturevisor-example-nuxt
Reactfeaturevisor-example-react
React Nativefeaturevisor-example-react-native

Deployment

PlatformExample
Cloudflare Pagesfeaturevisor-example-cloudflare

Other languages

LanguageExample
Gofeaturevisor-example-go
Javafeaturevisor-example-java
PHPfeaturevisor-example-php
Pythonfeaturevisor-example-python
Rubyfeaturevisor-example-ruby
Swiftfeaturevisor-example-swift

You can find further examples in the Featurevisor GitHub organization.

Previous
Glossary