Skip to content

TrickAndTrack/Hacker-News-API

Repository files navigation

Hacker-News-API

How to Run the Project?

  1. Clone the repository.
  2. Navigate to the root directory of the project.
  3. Run the maven build command: mvn clean install
  4. Start the Redis server on you machine using command: sudo systemctl start redis-server, Check if server Runing or Not with fallowing command sudo redis-cli
  5. Run the Project
  6. Excute fallowing Url : a. http://localhost:8080/top-stories b. http://localhost:8080/comments?storyId={storyId} c. http://localhost:8080/past-stories

fallowing Output on system->

image

image

image