Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuxt/hackernews
HackerNews clone built with Nuxt.
https://github.com/nuxt/hackernews
isomorphic nuxt nuxt-template nuxthub pwa ssr universal vue vue-router vuex web-app
Last synced: about 8 hours ago
JSON representation
HackerNews clone built with Nuxt.
- Host: GitHub
- URL: https://github.com/nuxt/hackernews
- Owner: nuxt
- License: mit
- Created: 2017-06-02T18:54:05.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T02:11:54.000Z (about 1 month ago)
- Last Synced: 2024-10-29T14:35:24.203Z (about 1 month ago)
- Topics: isomorphic, nuxt, nuxt-template, nuxthub, pwa, ssr, universal, vue, vue-router, vuex, web-app
- Language: Vue
- Homepage: https://hn.nuxt.dev
- Size: 2.32 MB
- Stars: 1,313
- Watchers: 23
- Forks: 262
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nuxtjs - Hackernews
- awesome - Hackernews - Nuxt Hackernews clone. (Uncategorized / Uncategorized)
README
# Nuxt Hacker News
Hacker News clone built with [Nuxt](https://nuxt.com).
## Demo
https://hn.nuxt.dev
> Hosted on Cloudflare Pages with [NuxtHub](https://hub.nuxt.com): `npm run build`
## Performance
- Lighthouse [100/100](https://pagespeed.web.dev/report?url=https%3A%2F%2Fhn.nuxt.dev%2Fnews%2F1) (Slow 4G / Mobile Moto G4)
## Features
- Server Side Rendering
- Vite-based hot module replacement (HMR) dev environment
- Deploys anywhere with zero config (Vercel, Netlify, Cloudflare, etc.) powered by [Nitro](https://nitro.unjs.io)
- Code Splitting
- Prefetch/Preload JS + DNS + Data## Build Setup
**Requires Node.js 14+**
``` bash
# install dependencies
npm install # or yarn# serve in dev mode, with hot reload at localhost:3000
npm run dev# build for production (server-side rendering)
npm run build# serve in production mode (server-side rendering)
npm start# validate and fix with ESLint (with Prettier)
npm run lintfix
```## Links
For the Nuxt 2 version, check out the [`nuxt2` branch](https://github.com/nuxt/hackernews/tree/nuxt2)
## License
MIT
## Credits
This repository is originally ported from [vue-hackernews-2.0](https://github.com/vuejs/vue-hackernews-2.0)