/factor-example-hacker-news

Hacker News client built with FactorJS v3

Primary LanguageVueMIT LicenseMIT

Factor - Hacker News Example

HackerNews clone built with FactorJS

Live Demo →

About

This is an example of the framework capabilities of Factor. Use it as a reference for core API tools (@factor/api) as well as a helpful structure for a typical JS app.

Features

  • Uses flat store + cache (using stored and storeItem utilities)
  • Supports multiple views and routes
  • Complete Vue SSR framework
  • Real-time updating with animation
  • Meta handling with image, title, icon/favicon
  • ESlint, Prettier, TypeScript configured

Docs and Architecture Overview

Factor docs can be found here.

Build Setup

Requires Node.js LTS+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:8080
npm run dev

# build for production
npm run build

# serve in production mode
npm start

License

MIT