Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/krzysztofzuraw/xstate-autocomplete

🚦📫 Autocomplete example with xstate
https://github.com/krzysztofzuraw/xstate-autocomplete

autocomplete playground react xstate

Last synced: about 1 month ago
JSON representation

🚦📫 Autocomplete example with xstate

Awesome Lists containing this project

README

        

# Xstate Autocomplete

Xstate example with Autocomplete

[**Show your support by giving a ⭐**](https://github.com/krzysztofzuraw/xstate-autocomplete/stargazers)


## Prerequisites

- [Mapbox account](https://www.mapbox.com/)
- [Vercel account](https://vercel.com/home)

## Installation & usage

```shell
npm install
```

You need to create `.env` file in root directory with `MAPBOX_TOKEN` inside:

```txt
MAPBOX_TOKEN=
```

Then you can run development server via:

```shell
now dev
```

## Deploys & other commands

Build is done via `now` so running `now` in root directory should deploy it to production.

Linting

```shell
npm run lint
```

TypeScript types checking

```shell
npm run tsc
```

Unit tests

```shell
npm run test
```

## Credits

Maker icon created by worker from [Noun Project](https://thenounproject.com/search/?q=point&i=2450190).

## Contributing and Issues

Please feel free to contribute or file issues 🎉