Git Product home page Git Product logo

hn-react-ts's Introduction

HN-React-TS

TypeScript implementation of Hacker News clone originally by tylermcginnis with some useful additions. Live demo

Added features:

  • Nested comments
  • Collapsible comment trees
  • Infinite scrolling/lazy loading of post lists and comments
  • State handover between post lists and individual listings (reduces API requests)
  • Other available story type listings
  • Links back to original HN submissions
  • Added Jest snapshot testing for all of the components

Tech stack:

  • TypeScript
  • React + Hooks
  • React-router
  • PostCSS
  • Jest
  • React Testing Library
  • Webpack

Live demo:

Available at hn-react-ts.zweisolutions.com

Instructions

  1. Run npm install in the main directory (package.json should be accurate)
    • Special Notes:
    • Source/Dev: app folder, Production: dist folder
  2. Run one of the commands from the Scripts section. You'll most likely want npm run dev for development and npm run build for production.

Scripts

  • npm run dev: Create development build and serve it on dev server
  • npm run build: Build application for production (build directory: dist)
  • npm run build-win: Build application for production in Windows
  • npm run test: Run tests
  • npm run testWatch: Run tests in watch mode

Current TODOs:

  • None as of now

Available for Hire

I'm available for freelance, contracts, and consulting both remotely and in the Hudson Valley, NY (USA) area. Some more about me and what I can do for you.

Feel free to drop me a message at:

hi [a+] zweisolutions {โ—} com

License

MIT

hn-react-ts's People

Contributors

dependabot[bot] avatar zweihander-main avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.