This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js
. The page auto-updates as you edit the file.
Something similar to the instagram user feed, data is fetched from the Unsplash Api.
At once 10 posts are shown and have an infinite scroll.
You can view the posts( random photos by different users), number of likes, and the date created.
We can also visit the user profile by clicking on the username in any post. Where you can see the user photos either in grid layout or in the list layout(same as that of home page - feed).
The hexagon like feature is just for presentation (UI) purpose and doesn't have any functionality.