---
title: "Discussion on \"How I built a Serverless Micro-Blogging Site Using Next.js and Fauna\" | Hashnode"
description: "Discussion on \"How I built a Serverless Micro-Blogging Site Using Next.js and Fauna\". Authored in connection with the Write With Fauna program.\n\n\nTable of Contents\n\nAuthentication\nSetting up Fauna in Next.js\nInstalling Fauna\nSetting up Migrations Tool\n\n\nAuthentication and Authorization in Fauna\nNext.js Serverless Function Setup for Fa..."
url: "https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I built a Serverless Micro-Blogging Site Using Next.js and Fauna](https://blog.bhanuteja.dev/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna?utm_source=hashnode&utm_medium=feed)

Authored in connection with the Write With Fauna program. Table of Contents Authentication Setting up Fauna in Next.js Installing Fauna Setting up Migrations Tool Authentication and Authorization in Fauna Next.js Serverless Function Setup for Fa...

Mar 29, 2021 · 14 min read · blog.bhanuteja.dev  
Updated Nov 1, 2022  
Read the article

-   [#serverless](https://hashnode.com/tag/serverless)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

@pbteja1998 · India

  
[View profile](https://hashnode.com/@pbteja1998)

Full-Stack Developer & Entrepreneur

Full-Stack Developer, Entrepreneur and Co-Founder of Coderplex. Building https://coderplex.in Checkout my portfolio at https://bhanuteja.dev

## Responses 5

Markdown supported · ⌘↵ to post

[kailoon](https://hashnode.com/@kailoon)

[Aug 17, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/611b3d31888ca15f5d3905c8)

Great post, I'm new to fauna.

Question: The way you handle likes, wound't it creates too many documents? Or, can I record the likes with a counter number and store under updates or goals?

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Aug 17, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/611b3d31888ca15f5d3905c8#reply-611b3e86888ca15f5d3905de)

Thank you.

It's been a long time since I wrote this post. But I think I handled `likes` like that, because I wanted to associate a like with a `user`. So just storing the counter might not work.

[Ndeye Fatou Diop](https://hashnode.com/@fatou)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/60637cf5669be10bf6054e0d)

Very complete article. Bookmarked!

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/60637cf5669be10bf6054e0d#reply-60637d39f7e8f90bd1d5e452)

Thanks!

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/606301b39be8d2084c026412)

This was a very good read so much information here.

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/606301b39be8d2084c026412#reply-606302070bb2e708278c61d6)

Thanks 😀

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/6062bb83cdd0a2790f53b3b6)

Don't tell me you are leaving Hashnode! 😢

Jokes aside, very good and in-depth article! 👏

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Mar 30, 2021](https://hashnode.com/posts/how-i-built-a-serverless-micro-blogging-site-using-nextjs-and-fauna/6061f45a269085751d20052c/comment/6062bb83cdd0a2790f53b3b6#reply-6062bc773f8d1e7934c1cffb)

Haha... Thanks.
