Appwrite Setup Overview
This portfolio uses Appwrite as the backend for:- Database - Storing all content (blogs, projects, products, settings)
- Storage - Hosting images and files
- Authentication - Admin login
Create Appwrite Project
- Go to cloud.appwrite.io
- Click Create Project
- Name it (e.g., “Portfolio”)
- Note your Project ID
Required Collections
| Collection | Purpose |
|---|---|
blogs | Blog posts |
blog_categories | Blog categories |
projects | Portfolio projects |
project_categories | Project categories |
products | Shop products |
shop_categories | Product categories |
orders | Customer orders |
shortlinks | URL shortener |
shortlink_analytics | Click tracking |
shortlink_domains | Custom domains |
header_section | Homepage header |
about_me | About section |
menubar_settings | Navigation settings |
custom_fonts | Uploaded fonts |
Required Storage Buckets
| Bucket ID | Purpose |
|---|---|
reactbucket | General images |
blog_images | Blog thumbnails & content |
shop-images | Product images |
editor-images | Rich text editor uploads |
shortlink-previews | Shortlink preview images |
custom-fonts | Custom font files |
order-files | Order delivery files |
Quick Setup Checklist
1
Create Database
Create a database named
portfolio_db2
Create Collections
Follow the Database Setup guide
3
Create Storage Buckets
Follow the Storage Buckets guide
4
Set Permissions
Follow the Permissions guide
5
Add Platform
Add
localhost and your production domain to PlatformsEnvironment Variables
After setup, add these to your.env: