Skip to content

Hacker News clone build with React, Hooks, ES8, RouterV6

Notifications You must be signed in to change notification settings

moisestech/hacker-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

63 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Netlify Status

Hacker News Clone

Hacker News API clone for reading post, linking to articles and connecting with users.

βš™ Features

  • React 17
  • React RouterV6
  • React Hooks
  • ES8
  • RouterV6
  • PropTypes
  • Light/Dark Theme

πŸ‘οΈβ€πŸ—¨οΈ Project Preview

Light Mode Dark Mode

πŸ—Ί URL Tree

β”œβ”€β”€ /               #Home
β”œβ”€β”€ /posts          #Post
β”œβ”€β”€ /posts/:postId  #Post:ID
β”œβ”€β”€ /users          #User
└── /*              #404

🌿 Application Tree

β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
β”œβ”€β”€ πŸ“ public
β”‚Β Β  └── _redirects
β”œβ”€β”€ src
β”‚Β Β  β”œβ”€β”€ πŸ“ components
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Comment
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Loading
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Nav
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ components
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ NavHeader
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ThemeButton
β”‚Β Β  β”‚Β Β  β”‚Β Β  β”‚Β Β      └── index.js
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Post
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ PostMetaInfo
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ PostTitle
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Posts
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ PostsList
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β  └── User
β”‚Β Β  β”‚Β Β      β”œβ”€β”€ components
β”‚Β Β  β”‚Β Β      β”‚Β Β  β”œβ”€β”€ UserAbout
β”‚Β Β  β”‚Β Β      β”‚Β Β  β”‚Β Β  └── index.js
β”‚Β Β  β”‚Β Β      β”‚Β Β  └── UserPosts
β”‚Β Β  β”‚Β Β      β”‚Β Β      └── index.js
β”‚Β Β  β”‚Β Β      └── index.js
β”‚Β Β  β”œβ”€β”€ contexts
β”‚Β Β  β”‚Β Β  └── theme.js
β”‚Β Β  β”œβ”€β”€ hooks
β”‚Β Β  β”œβ”€β”€ index.css
β”‚Β Β  β”œβ”€β”€ index.html
β”‚Β Β  β”œβ”€β”€ index.js
β”‚Β Β  └── utils
β”‚Β Β      β”œβ”€β”€ api.js
β”‚Β Β      └── helpers.js
└── webpack.config.js

⛰️ Roadmap

  • Looking at more robust versions of this project.

πŸ“ Todos

  • Create Pages Folder and restructure
  • Link out in new tab.
  • Create generative profile image for user.
  • User has 0 post, "User has no Posts"
  • Home page click button
  • Add Favicon
  • Add Netlify Badge
  • Add URL Links to different Endpoints

About

Hacker News clone build with React, Hooks, ES8, RouterV6

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published