An open API service indexing awesome lists of open source software.

https://github.com/statelyai/sky-starter-app

React, Vite & XState 5 starter app for Stately Sky 🌤️
https://github.com/statelyai/sky-starter-app

Last synced: 9 months ago
JSON representation

React, Vite & XState 5 starter app for Stately Sky 🌤️

Awesome Lists containing this project

README

          

# Stately Sky Starter App 🌤️

This is a starter Vite React app for Stately Sky to get you going quickly.

## Documentation

Find our getting started documentation at [stately.ai](https://stately.ai/docs/stately-sky-getting-started).

## Set up

Install dependencies:

```bash
npm install
```

Start the app:

```bash
npm run dev
```

After you've started the app, you will see three pages:

- [Home page](#home-page)
- [Counter example](#counter-example)
- [Traffic light example](#traffic-light-example)

### Home Page

![Home](https://github.com/statelyai/sky-starter-app/assets/167574/ae2e7087-89f6-43ab-b836-356d77ffe0f2)

The [home page](https://sky-starter.stately.ai/?page=home) is a basic page with links to our docs and examples.

### Counter example

![Counter](https://github.com/statelyai/sky-starter-app/assets/167574/df84babc-db59-4cf7-86a0-3b8f0090a6fb)

The [counter example](https://sky-starter.stately.ai/?page=counter) is a simple counter that shows how to use Stately Sky.

### Traffic light example

![TrafficLight](https://github.com/statelyai/sky-starter-app/assets/167574/29492de9-874b-4dc0-b8cf-598ff952303e)

The [traffic light example](https://sky-starter.stately.ai/?page=trafficlight) shows how you can even use delayed transitions on Sky.

### .env file

We have included a `.env` file in this starter app. You should not commit an `.env` file to your own repository, but we have included it here for convenience to get started quickly.

## Community

Join our [Discord](https://discord.stately.ai) to chat with us and other Stately Sky users.

## Learn more

- [Stately Sky](https://stately.ai/docs/stately-sky-getting-started)
- [Vite](https://vitejs.dev/)
- [React](https://reactjs.org/)