Skip to content

RafeeqShaik/hacker_news

 
 

Repository files navigation

Hacker News Clone

Hello! This is a hiring project for our React Native developer position. If you apply, we will ask you to do this project so we can asses your ability to build React Native customer facing apps with our choice of stack. We have made some tech-choices for you. We leave all other decisions to you. Feel free to add libs and customize the project as per your taste. We trust you and respect your decisions.

Requirement Tech Choice Description
Language TypeScript This will help you to catch bugs early.
Navigation React Navigation We find it quite good. We belive it's industry standard.
REST API React Query This is what we use.
Styling Styled Components, TailwindCSS You can use any one you like or both of them 🙂
Dev tools Prettier, ESLint Please wire it up as per your preference.
Testing react-testing-library, Jest or and lib of your choice We leave it to you. Please use any library that you find comfortable. Testing will earn you bonus points.
Misc Lib of your choice We trust you. Tweak the project according to your preference. We will be curious to know why you made certain choices.

Tasks/Assignment

Please create a Hacker News Clone.

API related information can be found here and here. You can look at various tutorials for the same.

List of Tasks

  • List TOP Stories, BEST stories and LATEST stories in 3 different tabs/screens. [API]

  • Make it look pretty. Try to make it look like Hacker News.

  • Details about a single post. i.e Title, Comments Count, Timestamps, Comments, Nested Comments, favourite etc.

  • Comments on a post

    • Nested comments on a post will get you bonus points.
  • Create Search Functionality. It should be frontend(react-native side) search only. No API calls required on search.

  • Write tests. It doesn't have to be comprehensive.

How to submit your solution:

  • Please clone this repo. You can click on "Use this template" button to do so.

  • Please complete the tasks.

  • Once done, please share your repo with us on [email protected].

  • We will contact you back within 48 hours.

  • If you have any queries, please do contact us. We will try to answer your queries as soon as possible.

    In general, we want to you to write the code that you can happily ship to production 🙂

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.9%
  • JavaScript 16.1%