Create an Astro project using:
Bash
npm create astro@latestThe command prompt will be something similar to this.
Bash
Where should we create your new project? ./my-astro-project
How would you like to start your new project? Empty
Do you plan to write TypeScript? No
Install dependencies? Yes
Initialize a new git repository? YesAfter the prompt is finished, you can head over to the newly created project.
Bash
cd my-astro-projectInstall Appwrite
Appwrite provides a Node SDK that can be used in your Astro apps. You can use Appwrite by installing the Node SDK as an NPM package. The Node SDK is intended for server-side use. If you want to use Appwrite in a client-side application, you should use the Web SDK instead.
Bash
npm install node-appwriteAdd Node adapter to Astro
To use Astro as an SSR framework, you need to add the Node adapter to your project. Run the following command:
Bash
npx astro add nodeWas this page helpful?
Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.