Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# Nuxt Hacker News

Hacker News clone built with [Nuxt](https://nuxt.com).






Live Demo

## 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)