This frontend application is built using Next.js. It interacts with the backend NestJS service to display the latest 30 posts from Hacker News.
pages/
- Contains Next.js pages.index.tsx
- The homepage that displays the latest posts.
components/
- Reusable components.Header.tsx
- Header component.Post.tsx
- Component to display individual posts.
public/
- Static files like images and favicon.styles/
- Global styles and CSS modules.
-
Install Dependencies:
npm install
-
Running the Application:
npm run dev