ποΈ The code is in GitLab
A minimal template for Astro projects with Appwrite integration, designed to accelerate modern web application development.
Before getting started, ensure you have installed:
- π’ Node.js (version 22 or higher)
- π΄ Appwrite (version 2 or higher)
- π₯οΈ Appwrite CLI (Installation Guide) (recommended)
- π» VSCode (recommended)
- Frontend:
- Astro - Modern web framework
- TypeScript - Static typing
- WebCoreUI - Component library
- Sass - CSS preprocessor
git clone https://github.com/emanuelsaramago/astro-appwrite-starter.git
cd astro-appwrite-starternpm install- Copy
.env.exampleto.env - Create a new project in your Appwrite instance, then:
- Set up a database, collection, and user
- Generate an API key
- Fill the
.envfile with the required values
# Initialize project
appwrite init project
# Generate TypeScript types
appwrite types src/typesIn VSCode:
- Go to Debugger Mode
- Select "Development server"
- Click "Start Debugging" button or press F5
- Open in browser: http://localhost:1234
UI component documentation: WebCoreUI Docs
src/
βββ components/ # Reusable UI components
βββ layouts/ # Layout templates
βββ pages/ # Pages and API routes
βββ styles/ # Global styles
βββ utils/ # Utility functions
βββ lib/ # Appwrite client and services
Feel free to open issues or send pull requests. All contributions are welcome!
This project is under the MIT License. See the LICENCE.md file for more details.