More Premium Hugo Themes Premium React Themes

Egghead Next

The frontend for egghead.io.

Egghead Next

The frontend for egghead.io.

Author Avatar Theme by skillrecordings
Github Stars Github Stars: 1437
Last Commit Last Commit: Apr 26, 2025 -
First Commit Created: Aug 27, 2024 -
default image

Overview

The egghead-next project serves as the front-end for egghead.io. To set up the development environment, various steps are outlined including installing system-level requirements, configuring environment variables, setting up egghead-rails, and running the application using pnpm.

Features

  • Development Environment Setup: Guide to installing system-level requirements and verifying base installations.
  • Vercel Integration: Instructions to connect the development environment to Vercel.
  • egghead-rails Setup: Walkthrough of setting up egghead-rails and starting the backend server.
  • Stripe Webhook Integration: Details on connecting Stripe webhooks and updating necessary values.
  • Start Developing: Instructions for running the egghead-next project once egghead-rails is running.
  • Handy Commands: Reference to primary development commands in the package.json scripts section.

Installation

  1. Run bin/validate to ensure system-level requirements like Homebrew, Node, and pnpm are installed.
  2. Connect the development environment to Vercel:
    • Run vercel login to log in and verify.
    • Execute vercel link to choose the eggheadio organization and the egghead-io-nextjs project.
    • Use vercel env pull to bring in necessary development environment variables.
  3. Set up egghead-rails by following the setup instructions and start it with foreman start -f Procfile.dev.
  4. Ensure the required values for Stripe webhooks are updated:
    • STRIPE_WEBHOOK_SECRET (generated by stripe listen command).
    • NEXT_PUBLIC_STRIPE_PUBLIC_KEY & STRIPE_SECRET_KEY (found on Stripe Development API Keys page).
    • Update webhook_signing_secret in config/credentials.yml.enc in egghead-rails.
  5. After egghead-rails setup, run pnpm install && pnpm dev to start developing.
  6. Refer to the scripts section in package.json for primary development commands.

Summary

The egghead-next project serves as the front-end for egghead.io, with detailed instructions provided for setting up the development environment. From installing system-level requirements to configuring Stripe webhooks, the guide covers the necessary steps to get started with development. By ensuring that egghead-rails is running and setting up the required environment variables, developers can efficiently run and test the egghead-next project using pnpm commands.