# AtharsTech - Full Technical Overview Complete automated gateway between Midtrans payments and Pterodactyl infrastructure. ## 🔭 Architecture Flow 1. **Selection**: User picks a hardware plan. 2. **Transaction**: `Server Actions` create a PostgreSQL order & Midtrans Snap token. 3. **Validation**: Midtrans Webhook (SHA-512 verified) triggers provisioning. 4. **Provisioning**: - Check/Create Pterodactyl User via Email. - Create Server via Pterodactyl Application API. - Link `serverId` to the order. 5. **Real-time**: Server-Sent Events (SSE) notify the client for instant dashboard redirect. ## 🚀 Key Specifications - **Infrastructure**: Pterodactyl Panel (API-driven). - **Automation**: Zero-touch provisioning (No manual intervention). - **Security**: - OAuth2/Google Login via Auth.js. - ReCAPTCHA v3 on auth routes. - Cryptographic webhook validation. - **Performance**: Edge-cached landing pages, optimized Framer Motion animations. ## 🛠 Tech Stack Details - **Core**: Next.js 15 (App Router), TypeScript. - **Data**: PostgreSQL + Prisma ORM. - **UI**: Shadcn/UI, Tailwind CSS, Lucide Icons. - **Payments**: Midtrans Snap & Core API. - **Monitoring**: Instatus (System Status), Google Analytics. ## 🔗 Public Resources - **Homepage**: https://athars.eu - **Status Page**: https://athars.instatus.com - **Legal**: /terms, /privacy