Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alpacatravel/graph-sdk-svelte-demo
- Owner: AlpacaTravel
- License: mit
- Created: 2020-05-01T00:15:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-21T01:20:15.000Z (over 2 years ago)
- Last Synced: 2023-02-28T21:56:45.952Z (almost 2 years ago)
- Language: HTML
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.