Skip to content

Mobile PWA project to demonstrate a real use case of Svelte : HackerNews reader

Notifications You must be signed in to change notification settings

hamdouni/svelte-hackernews

Repository files navigation

Hacker News Reader Svelte App

This is a mobile PWA project to demonstrate a real use case of Svelte.

Screenshot

Requirements : Node.js.

Install dependencies :

npm install

Local test :

npm run dev

Navigate to localhost:5000.

Build

npm run build

Folder 'public' contains all needed files.

Deploy to surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public

Add to your mobile page

On your mobile, consult the page on surge with https.

On Firefox : click on the house icon to add the app to the home screen.

On Chrome : in the menu, select "Add to homescreen".

Thanks

About

Mobile PWA project to demonstrate a real use case of Svelte : HackerNews reader

Resources

Stars

Watchers

Forks

Packages

No packages published