Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An NX Hacker News clone with real-time updates and animations.

License

NotificationsYou must be signed in to change notification settings

nx-js/hackernews-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live demo

A Hacker News clone built withNX, whichfeatures client-side routing, real-time updates and animations.

Usage

Clone the repo and runnpm i andnpm start. Thenpm start command bundlesthe source and starts a local server. The demo is exposed onlocalhost:3000.

Project structure

The project is structured in the following way.

  • Thesrc folder includes the API and the components of the app.
  • The source is bundled withWebpack. You can find thewebpack config insrc.
  • bundle.js is the app's source and NX - bundled together by webpack.
  • index.html imports the bundled source script and has a single<hacker-news> component in its body, which is the root component.
  • server.js is only used for local testing, as the page is hosted onGithub Pages. It serves as a simple server example for single page applications.

About

An NX Hacker News clone with real-time updates and animations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp