Skip to content
Back

How to Create a Web App with Astrojs Frontend, Golang API, and Appwrite Backend?

  • 0
  • Tools
Alien Insect
29 Nov, 2025, 01:28

Hey guys, I'm a little bit new to Appwrite and the concept of backend.

TL;DR
Solution: You can have your Astrojs front end communicate directly with Appwrite without needing a separate backend. However, if you want to use a Golang API in between, you can follow the server-side rendering (SSR) docs. Your setup should look like this: frontend (Astrojs project) -> Golang API (to interact with Appwrite).
Alien Insect
29 Nov, 2025, 01:29

Basically, I have a project formatted like this:

TypeScript
frontend/ (My Astrojs project)
backend/ (My Golang backend to call methods from Appwrite)
Alien Insect
29 Nov, 2025, 01:31

How to Create a Web App with Astrojs Frontend, Golang API, and Appwrite Backend?

Alien Insect
29 Nov, 2025, 01:32

Basically, I wanna have my Astrojs frontend make requests to my Golang API, and my Golang API would then interact with and call methods from Appwrite. How would this work?

Steven
29 Nov, 2025, 01:59

The point of using Appwrite is that you don't need to have a backend. So you can just have your Astro front end talk to Appwrite.

If you really want to put a golang server in between, go for it. Just follow the SSR docs

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more