All Projects → tigranpetrossian → hacker-news-redesigned

tigranpetrossian / hacker-news-redesigned

Licence: other
A redesigned Hacker News clone written with React and GraphQL.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to hacker-news-redesigned

Prep
Pre-renders your web app (React, Vue, Angular, ...) into static HTML based on your specified routes enabling SEO for single page applications.
Stars: ✭ 371 (+37000%)
Mutual labels:  server-side-rendering, apollographql
preact-rpc
React Pre-Rendering via RPC
Stars: ✭ 28 (+2700%)
Mutual labels:  server-side-rendering
blog-be-next
The back-end platform for Yancey blog.
Stars: ✭ 33 (+3200%)
Mutual labels:  apollographql
universal-react-webpack-boilerplate
unireact - quickly bootstrap your universal react-app
Stars: ✭ 27 (+2600%)
Mutual labels:  server-side-rendering
awesome-astro
Curated resources on building sites with Astro, a brand new way to build static and server rendered sites, with cross-framework components, styling and reactive store support.
Stars: ✭ 210 (+20900%)
Mutual labels:  server-side-rendering
gist-blog-ssr
Build a server rendered Vue.js blog with Nuxt and Vuex using API Gist as backend
Stars: ✭ 58 (+5700%)
Mutual labels:  server-side-rendering
node-amazon
E-commerce website done in Node, and Angular 11 (SSR)
Stars: ✭ 48 (+4700%)
Mutual labels:  server-side-rendering
github-react-native-apollo-graphql
📱 A GitHub mobile app built with React-Native and Apollo GraphQL
Stars: ✭ 24 (+2300%)
Mutual labels:  apollographql
alef-component
Alef Component for Modern Web Apps.
Stars: ✭ 46 (+4500%)
Mutual labels:  server-side-rendering
game-store-monorepo-app
A full-stack web app built with NestJS and ReactJS that helps you find and discover over 500,000+ video games on your device. Powered by RAWG API.
Stars: ✭ 106 (+10500%)
Mutual labels:  apollographql
react-cool-virtual
😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
Stars: ✭ 1,031 (+103000%)
Mutual labels:  server-side-rendering
kaonjs
Kaon.js is a react isomorphic app solution. It contains webpack build, hot reloading, code splitting and server side rendering.
Stars: ✭ 21 (+2000%)
Mutual labels:  server-side-rendering
create-react-scripts
Easily extend the react-scripts to your own version of react-scripts
Stars: ✭ 64 (+6300%)
Mutual labels:  server-side-rendering
useSSE
use Server-Side Effect ✨in React SSR app
Stars: ✭ 106 (+10500%)
Mutual labels:  server-side-rendering
next-urql
Convenience utilities for using urql with NextJS.
Stars: ✭ 57 (+5600%)
Mutual labels:  server-side-rendering
gitstar
Github Client built with React Apollo
Stars: ✭ 15 (+1400%)
Mutual labels:  apollographql
apollo-express-ts-server-boilerplate
No description or website provided.
Stars: ✭ 29 (+2800%)
Mutual labels:  apollographql
jigjs
🧩 A front-end framework
Stars: ✭ 22 (+2100%)
Mutual labels:  server-side-rendering
egg-vue-webpack-dev
基于egg + vue2 + webpack2 的前后端集成开发编译构建插件
Stars: ✭ 29 (+2800%)
Mutual labels:  server-side-rendering
Feliz.ViewEngine
Feliz DSL and engine for HTML generation and server side rendering (SSR)
Stars: ✭ 53 (+5200%)
Mutual labels:  server-side-rendering

Hacker News Redesigned

A Hacker News clone designed with better reading experience, performance, and accessibility in mind.

See the live demo »

Overview

The project is written with React and React Apollo, using custom server-side rendering.

Stack

API

The API for the client is a Node-based GraphQL wrapper over Hacker News Firebase API, implemented with Apollo Server. For more details see the API repository.

Build Process

Webpack 4 is used to bundle the project, with Babel 7 beta taking care of transpilation. 4 separate configs are used for compiling server and client builds for both development and production.

CSS

The styling of the project is implemented with SCSS modules: (ITCSS)-like architecture is used for global styling and tools (mixins, variables, functions). One local .scss file is used per component. The CSS output is extracted with mini-css-extract-plugin during the production build, and because of being fairly small (4KB gzipped) is directly embedded into HTML files with Express.

Running locally

  1. Clone the repository: git clone [email protected]:tigranpetrossian/hacker-news-redesigned.git
  2. Run: yarn install
  3. Start in development mode: yarn start
  4. Run production mode locally: yarn start:prod:local

Note: you will need to have the API running locally as well. See the API repository for details.

Upcoming Improvements

Design and usability

  • Subtle navigation transitions
  • Route change announcement with screen readers
  • Collapsing comments
  • Subtle notifications on feed updates

Code

  • Code splitting
  • Client-side cache invalidation: heavily caching the data on the client, and invalidating by listening to API updates
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].