Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alpacatravel/graph-sdk-svelte-demo

Using svelte to demo lightweight SDK functions
https://github.com/alpacatravel/graph-sdk-svelte-demo

Last synced: about 1 month ago
JSON representation

Using svelte to demo lightweight SDK functions

Awesome Lists containing this project

README

        

# Svelte Demo using @alpaca-travel/graph-sdk

Svelte offers an excellent environment for developing lightweight vanilla JavaScript applications.

This demo shows that you can build a working site:

- Load a list of curated places you've added to an Alpaca collection :earth_africa: :earth_americas: :earth_asia:
- Add/Remove/View items from an itinerary :hammer: :wrench: :rocket:
- Network calls using GraphQL to only fetch the data needed :envelope: :speedboat:
- Lightweight ~10KB total for app and dependencies :school_satchel:

## Running local

Clone this demo down, and you can then run the following command:

```
npm install
npm run dev
```

Once started, visit [http://localhost:5000](http://localhost:5000) in your browser to interact with an example site.