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
1
Clone the Repository
2
Install Dependencies
3
Create Appwrite Project
- Go to cloud.appwrite.io
- Click Create Project
- Name it (e.g., “Portfolio”)
- Copy your Project ID
4
Configure Environment
Create a
.env file in the root directory:5
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.
6
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
1
Access Admin Panel
2
Create Account
Click Sign Up and create an account with your email.
3
Verify Email (Optional)
If email verification is enabled in Appwrite, check your inbox and verify.
4
Add Content
Start adding your content:
| Section | What to Add |
|---|---|
| Header | Your name, job titles, intro |
| About | Bio, skills, profile image |
| Projects | Your portfolio work |
| Blog | Articles and posts |
Quick Content Checklist
After setup, add content in this order:1
Header Section
/admin/header - Your name, rotating roles, description2
About Section
/admin/about - Bio, skills, profile image3
Project Categories
/admin/project-categories - Create 2-3 categories4
First Project
/admin/projects - Add your best project5
Blog Category
/admin/blog-categories - Create a category6
First Blog Post
/admin/blogs - Write your first postBuild 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