Hashnode clone Nextjs, Mongodb, Apollo-graphql, Express.
This is a complete repository of hashnode clone which I made while learning MERN stack.
- Nextjs - Frontend
- Apollo graphql, express - Backend
- Api Handling - Axios
- Styling - tailwindcss
- Delayed Search - loadash debounce
- Image upload - Cloudinary
- Authentication
- CRUD for posts
- CRUD for user
- CRUD for tags
- Infinite scrolling
- Search any posts by username, title, tags
- Follow/Unfollow users
- Follow/Unfollow tags
- Like (many emoji) posts
- Comment posts
- Light/Dark theme (dark is default)
- Add bookmarks
Clone this repository:
git clone https://github.com/anzal/Hashnode-clone
At the root of your project create an .env file with the following contents:
NEXT_PUBLIC_MONGODBURI=<YOUR_MONGODB_URL>
JWT_SECRET=<SECRET_FOR_JWT>
cloud_name=<CLOUNDINARY_NAME>
api_key=<CLOUNDINARY_API_KEY>
api_secret=<CLOUNDINARY_API_SECRET>
Then run yarn
and yarn d
to see the hashnode clone in action.
I hope you liked this project. If you do then don't forget to give this repo a star
Cheers 🍻