Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/krzysztofzuraw/xstate-autocomplete
- Owner: krzysztofzuraw
- License: mit
- Archived: true
- Created: 2020-04-06T15:57:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T07:31:45.000Z (over 3 years ago)
- Last Synced: 2024-08-02T09:27:10.239Z (4 months ago)
- Topics: autocomplete, playground, react, xstate
- Language: TypeScript
- Homepage: https://xstate-autocomplete.krzysztofzuraw.now.sh/
- Size: 316 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome_xstate - GitHub - Autocomplete example with XState
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 🎉