Quick Start Guide
Get your portfolio website up and running quickly with this step-by-step guide.Prerequisites
Before starting, make sure you have:| Requirement | Version | Check Command |
|---|---|---|
| Node.js | 18+ | node --version |
| npm | 9+ | npm --version |
| Git | Any | git --version |
Installation
Install Dependencies
Create Appwrite Project
- Go to cloud.appwrite.io
- Click Create Project
- Name it (e.g., “Portfolio”)
- Copy your Project ID
Add Platform in Appwrite
- In Appwrite Console, go to Settings → Platforms
- Click Add Platform → Web
- Enter hostname:
localhost - Click Create
This allows your local development server to communicate with Appwrite.
Start Development Server
Database Setup
Your site needs database collections to store content. You have two options:Option A: Quick Setup (Recommended for Testing)
Create the minimum required collections:- Go to Appwrite Console → Databases
- Click Create Database → ID:
portfolio_db - Create these collections with basic attributes:
| Collection | Required Attributes |
|---|---|
header_section | name (string), roles (string[]), description (string) |
menubar_settings | showBlog (boolean), showProjects (boolean) |
Option B: Full Setup
Follow the complete Appwrite Setup Guide to create all collections and storage buckets.First-Time Admin Setup
Access Admin Panel
Quick Content Checklist
After setup, add content in this order:Build for Production
dist/ folder, ready for deployment.
Common Issues
Site shows empty/no data
Site shows empty/no data
- Check
.envfile exists with correct values - Verify Appwrite project ID is correct
- Ensure
localhostis added to Appwrite platforms
CORS error in console
CORS error in console
Add
localhost to Appwrite Console → Settings → Platformsnpm install fails
npm install fails
- Delete
node_modulesandpackage-lock.json - Run
npm installagain - Ensure Node.js 18+ is installed