romaincazier / Svelte-intro-MediaWiki-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction to Svelte using WikiMedia HTTP API

This repo serves as an introduction to a few concepts in Svelte, using the WikiMedia HTTP API.

This project does three things:

  • Search for 10, 20 or 50 pages with a title query
  • Display thumbnails with excerpts
  • Allow to sort results by relevance / A-Z / last edition

Quick start

In the terminal:

git clone https://github.com/romaincazier/Svelte-intro-MediaWiki-API.git

cd Svelte-intro-MediaWiki-API

npm install

npm run dev

Deploy

Build the app using:

npm run build

And put the content of your public folder where you want to.

About Svelte

Tutorials

Documentation

About the WikiMedia API

About


Languages

Language:JavaScript 53.5%Language:Svelte 37.1%Language:CSS 6.5%Language:HTML 2.9%