Sign in
Log inSign up
Sandro Volpicella

372 likes

·

8.3K reads

34 comments

Rocky Essel
Rocky Essel
Oct 11, 2023

Wow. Thank you for this information, I get to see real-life architecture. A lot of stuff went over my head. I find it interesting that it is possible to interact with Vercel API to assign custom domains. That's something on my list.

Quick question, I was expecting to see anything about using a cron job, but didn't so does it mean Hashnode don't use it? Or is it part of the background process?

17
·
·2 replies
Sandro Volpicella
Sandro Volpicella
Author
·Oct 11, 2023

Yes Vercel is really amazing on that side. I don't think many people realize this.

This is all in the section of asnyc processes TBH I try to use as little cron jobs as possible and try to react to events. Thats much easier to trace and to understand IMO. But not always possible of course

5
·
Rocky Essel
Rocky Essel
Oct 20, 2023

Sandro Volpicella Okay Thanks

·
Amaechina Ikechukwu
Amaechina Ikechukwu
Oct 10, 2023

What about hasnode app?

10
·
·6 replies
Sandro Volpicella
Sandro Volpicella
Author
·Oct 10, 2023

The app runs on react-native and uses the REST API + GQL API.

Maybe Shad Mirza or Florian Fuchs can elaborate

2
·
Amaechina Ikechukwu
Amaechina Ikechukwu
Oct 10, 2023

Sandro Volpicella was it expo on Expo. There's a reason I am asking.

·
Florian Fuchs
Florian Fuchs
Oct 10, 2023

Hey Amaechina Ikechukwu

We are running on Expo with development clients to integrate some native code modules, which are unavailable on Expo Go.

As Sandro Volpicella already said, the App uses a mixture of GQL and the REST API for data fetching.

Do you want to know anything else about the App?

·
Amaechina Ikechukwu
Amaechina Ikechukwu
Oct 10, 2023

Florian Fuchs thank you for the reply. What modules could that be? I am just curious

·
Florian Fuchs
Florian Fuchs
Oct 10, 2023

Amaechina Ikechukwu

For example:

  • react-native-music-control

We did have a couple more in the beginning, but most of the packages are now available on Expo Go 👍

·
Amaechina Ikechukwu
Amaechina Ikechukwu
Oct 10, 2023

Florian Fuchs thanks you for the quick replies.

·
Vince Fulco
Vince Fulco
Oct 10, 2023

Really cool. Appreciate the look-see

10
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 10, 2023

Cool glad to hear that :)

·
Abby
Abby
Oct 10, 2023

Your language is very simple and easy to understand, thank you

10
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 10, 2023

Thanks really appreciate it! 😊

·
Chris Zirkel
Chris Zirkel
Oct 11, 2023

Very cool post! May I ask what tool you used for the diagrams?

10
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 11, 2023

Sure. I am using excalidraw.com

1
·
69vnwin
69vnwin
Oct 12, 2023

cảm ơn

10
·
Anne Deepa prasanna
Anne Deepa prasanna
Oct 14, 2023

This was an amazing read, how real life architecture is implemented. Thanks

10
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 16, 2023

Glad you like it. Thanks! :)

·
Andrea Diotallevi
Andrea Diotallevi
Oct 14, 2023

Great article! Can you elaborate more on how you document event types, producers and consumers to make the overall architecture scalable, discoverable and maintainable?

10
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 16, 2023

Thanks!

  • event types: We have an own package in our monorepo where we defined all event types and ZOD schemas
  • consumers: We follow the EventBridge subscription pattern. Each consumer owns the rule. So we don't really document something here. Each consumer can decide which ones to use
  • producers: The main producer is our GQL API. We have abstracted event emitters for actions like post publish, update, etc.
·
Milan Patel
Milan Patel
Oct 12, 2023

A great explanation in a concise and structured format. Though many things went over my head, I will surely look upon them to make them clear. Great Writing! ✍️ 👌.

3
·
·2 replies
Sandro Volpicella
Sandro Volpicella
Author
·Oct 12, 2023

Thanks! Let me know if you have any questions of what went over your head. I recorded a podcast episode on that as well which comes out in a month or so :)

1
·
Milan Patel
Milan Patel
Oct 12, 2023

Sandro Volpicella Oh nice, will surely listen to the podcast. Actually I'm a beginner, I have to learn new stuff, if I face any difficulties then will definitely tell you.

·
Khoa Trinh
Khoa Trinh
Oct 12, 2023

woa that is so interesting to see the real-life architecture.

1
·
·1 reply
Sandro Volpicella
Sandro Volpicella
Author
·Oct 12, 2023

Thanks! Happy to hear that :)

2
·
Kralhex
Kralhex
Oct 12, 2023

Great stuff! Thank you for sharing.

·
Mats Nilsson
Mats Nilsson
Oct 16, 2023

nice

·
Abdulramon Jemil
Abdulramon Jemil
Oct 17, 2023

Would really love it if you could explain the event-driven architecture and the services used to make it possible in a separate article.

Nice article btw

·
Ashik Chapagain
Ashik Chapagain
Oct 18, 2023

Great stuff. Easily understandable. Can you also share how hashnode built the Rix?

·
Lank Bra
Lank Bra
Nov 3, 2023

Nice app

·
Non Pro Yolo man
Non Pro Yolo man
Nov 9, 2023

Sandro VolpicellaAmazing read!

·
Shop tình yêu shoptinhyeu.vn nhà thuốc 115 thuoc115.com
Shop tình yêu shoptinhyeu.vn nhà thuốc 115 thuoc115.com

thank you very much

·