No description
Find a file
2026-02-05 10:04:49 +00:00
.builder/rules Initial commit 2025-08-05 20:03:34 +00:00
.github/workflows Sync local changes 2025-12-07 00:17:04 +00:00
aethex-forge modified: .replit 2025-12-05 01:06:47 -07:00
aethex-logos new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
api modified: api/staff/me.ts 2026-01-28 04:52:03 +00:00
attached_assets Update privacy, terms, and support pages with new content 2025-12-14 23:44:31 +00:00
build Add files via upload 2025-12-06 01:04:50 -07:00
client new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
docs feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
docs-migration Prettier format pending files 2025-11-05 02:45:56 +00:00
electron modified: electron/main.js 2026-01-02 04:07:51 -07:00
public Improve website SEO by updating sitemap and title tags 2025-12-09 05:43:59 +00:00
server new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
services modified: .replit 2025-12-05 01:06:47 -07:00
shared Remove demo API types 2025-08-06 02:14:21 +00:00
supabase new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
tests Prettier format pending files 2025-11-08 03:49:51 +00:00
.builderrules Todo list updated 2025-10-01 02:16:46 +00:00
.dockerignore Initial commit 2025-08-05 20:03:34 +00:00
.env.discord.example Discord Configuration Example 2025-11-05 07:33:35 +00:00
.env.example Create environment variables template 2025-08-06 00:04:12 +00:00
.env.foundation-oauth.example completionId: cgen-6e1d80e2545f4e4998a976070bea2bc3 2025-11-17 02:24:05 +00:00
.gitignore Configure Vite to work with Replit and secure file system access 2025-12-02 18:11:51 +00:00
.htaccess Create .htaccess file for Hostinger SPA routing 2025-08-06 03:31:57 +00:00
.npmrc Initial commit 2025-08-05 20:03:34 +00:00
.prettierrc Initial commit 2025-08-05 20:03:34 +00:00
.replit Update AI personas to include new subscription tiers and unlockable badges 2025-12-12 23:12:45 +00:00
.vercelignore Fix .vercelignore to not exclude utility modules needed by handlers 2025-11-16 07:02:05 +00:00
aethex-logos.zip new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
AGENTS.md Initial commit 2025-08-05 20:03:34 +00:00
apply_missing_migrations.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
apply_missing_migrations_SAFE.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
apply_missing_migrations_safe.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
build-api.js Simplify build-api.js to just validate API setup 2025-11-16 05:00:15 +00:00
build-for-hostinger.sh Create build script for Hostinger deployment 2025-08-06 03:32:07 +00:00
check-migrations.js feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
check_all_tables_user_id.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
check_user_badges.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
check_whats_missing.sh feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
components.json Initial commit 2025-08-05 20:03:34 +00:00
copy-api.js completionId: cgen-501e89513d5342e4a2c04a825bae5594 2025-11-16 01:49:28 +00:00
DEPLOYMENT_CHECKLIST.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
DESIGN_SYSTEM.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
DEVELOPER_PLATFORM_ARCHITECTURE.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
DISCORD_SETUP.md Update next steps section with final Discord configuration 2025-11-05 16:34:09 +00:00
Dockerfile Create Dockerfile for Railway deployment 2025-11-16 10:59:29 +00:00
electron-builder.yml Disable automatic publishing to GitHub 2025-12-06 01:51:14 +00:00
find_missing_user_id.sh feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
foundation_tables_only.sql feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
hostinger-deploy.md Prettier format pending files 2025-08-06 03:38:55 +00:00
index.html Improve website SEO by updating sitemap and title tags 2025-12-09 05:43:59 +00:00
LAUNCH_READY.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
LICENSE Update application to include desktop build and release configurations 2025-12-05 23:20:50 +00:00
netlify.toml Initial commit 2025-08-05 20:03:34 +00:00
OAUTH_SETUP.md Replace fly.dev with aethex.dev throughout code/OAUTH_SETUP.md 2025-11-08 08:07:07 +00:00
package-lock.json Sync local changes 2025-12-07 00:17:04 +00:00
package.json Sync local changes 2025-12-07 00:17:04 +00:00
PHASE1_IMPLEMENTATION_SUMMARY.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
PHASE4_IMPLEMENTATION_SUMMARY.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
PHASE8_QA_CHECKLIST.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
postcss.config.js Initial commit 2025-08-05 20:03:34 +00:00
PROJECT_COMPLETE.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
PROTECTED_DISCORD_ACTIVITY.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
railway.json Create railway.json configuration 2025-11-16 10:59:32 +00:00
README.md new file: aethex-logos/icons/1024x1024.png 2026-02-05 10:04:49 +00:00
replit.md Update documentation for Discord integration and system architecture 2025-12-13 10:08:00 +00:00
SPACING_SYSTEM.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
supabase-migration.sql modified: api/staff/me.ts 2026-01-28 04:52:03 +00:00
SUPABASE_SETUP.md Prettier format pending files 2025-08-06 00:35:27 +00:00
tailwind.config.ts Update tailwind config with AeThex brand colors 2025-08-05 22:46:04 +00:00
TESTING_REPORT.md feat: Complete database migration and developer platform 2026-01-10 02:05:15 +00:00
tsconfig.json Update application to include desktop build and release configurations 2025-12-05 23:20:50 +00:00
vercel.json Add handling for trailing slash in activity URL path 2025-12-08 17:21:05 +00:00
vite.config.server.ts Fix server build to produce the correct output file for deployment 2025-12-02 18:51:07 +00:00
vite.config.ts Allow all hosts for Vite development server in Replit environment 2025-12-02 18:16:34 +00:00
vite.desktop.config.ts Refactor desktop application and improve Electron integration 2025-12-05 22:36:13 +00:00

AeThex Forge Local Development Setup

Quick Start Guide

This guide will help you set up and run the AeThex Developer Platform locally.

Prerequisites

  1. Node.js (v18 or higher)

  2. Git (recommended for updates)

Installation Steps

1. Install Node.js

  • Download and install the LTS version from nodejs.org
  • Follow the setup wizard
  • Restart your terminal after installation

2. Verify Installation

Open your terminal and run:

node --version
npm --version

You should see version numbers (e.g., v20.x.x and 10.x.x)

3. Install Project Dependencies

Navigate to the project folder and install dependencies:

cd /path/to/aethex-forge
npm install

This may take a few minutes as it downloads all required packages.

4. Set Up Environment Variables

Create a .env file in the root directory (aethex-forge/) with the following variables:

Minimum Required (to run the app):

# Supabase Configuration (Required)
VITE_SUPABASE_URL=your_supabase_url_here
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE=your_service_role_key_here
SUPABASE_URL=your_supabase_url_here

# API Base URL
VITE_API_BASE=http://localhost:5000

Optional (for full functionality):

# Discord Integration
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_PUBLIC_KEY=your_discord_public_key
DISCORD_REDIRECT_URI=http://localhost:5000/api/discord/oauth/callback

# Foundation OAuth
VITE_FOUNDATION_URL=https://aethex.foundation
FOUNDATION_OAUTH_CLIENT_ID=your_foundation_client_id
FOUNDATION_OAUTH_CLIENT_SECRET=your_foundation_client_secret

# Email Service (SMTP)
SMTP_HOST=your_smtp_host
SMTP_PORT=587
SMTP_USER=your_smtp_user
SMTP_PASSWORD=your_smtp_password

# Other Services
VITE_GHOST_API_URL=your_ghost_api_url
GHOST_ADMIN_API_KEY=your_ghost_admin_key

Note: You can start with just the Supabase variables to get the app running. Add other credentials as needed for full functionality.

5. Run the Development Server

npm run dev

The application will start on http://localhost:5000 (or the port set in your config).

Open your browser and navigate to that URL to view the application.

Available Commands

  • npm run dev Start development server (default: port 5000)
  • npm run build Build for production
  • npm start Start production server
  • npm run typecheck Check TypeScript types
  • npm test Run tests

aethex-forge/ aethex-forge/

Project Structure

aethex-forge/
├── client/       # React SPA frontend (pages, components, UI)
├── server/       # Express backend API
├── api/          # API route handlers (modular)
├── shared/       # Shared types/interfaces (client/server)
├── supabase/     # Database migrations & SQL
├── docs/         # Project documentation
└── ...           # Other supporting folders

Getting Supabase Credentials

If you don't have Supabase credentials yet:

  1. Go to supabase.com
  2. Create a free account and project
  3. In your project, go to Settings → API
  4. Copy:
    • Project URL → VITE_SUPABASE_URL and SUPABASE_URL
    • anon public key → VITE_SUPABASE_ANON_KEY
    • service_role secret key → SUPABASE_SERVICE_ROLE

Troubleshooting

Port Already in Use

If port 5000 is already in use, you can change it in vite.config.ts:

server: {
   port: 5001, // Change to any available port
}

Module Not Found Errors

Try deleting node_modules and package-lock.json, then run npm install again:

rm -rf node_modules package-lock.json
npm install

Environment Variables Not Loading

  • Ensure .env is in the root aethex-forge directory
  • Restart the dev server after adding new environment variables
  • Variables starting with VITE_ are exposed to the client

Need Help?

  • See the docs/ folder for detailed documentation
  • Review AGENTS.md for architecture and tech stack
  • See replit.md for cloud deployment info
  • For advanced troubleshooting, check DEPLOYMENT_CHECKLIST.md and PHASE1_IMPLEMENTATION_SUMMARY.md