codex-lv2-may-2025

🧪 Part 2 — Step 1: Setup

Goal: Create the basic project scaffold and confirm everything runs locally.


Levels (compact)


📄 secret-variables.js (starter template)

// secret-variables.js
// Store secret keys or tokens here. 
// ⚠️ Do not commit this file to a public repo.

HF_TOKEN = "your-huggingface-api-token-goes-here";
<!-- Example script order in index.html -->
<script src="helpers-full.js"></script>
<script src="secret-variables.js"></script>
<script src="chatbot.js"></script>

📄 .gitignore (starter template)

# Secret files (⚠️ do not push secrets!)
secret-variables.js

ℹ Third-Party File Info

Download helpers-full.js from the class repo:
https://github.com/rmccrear/codex-lv2-may-2025/tree/main/guides/week5-event-driven-apps/other-dev-files

Place it in your project folder before linking it in index.html.


💾 Don’t forget to commit!

When you’ve completed this step, commit your work with a meaningful message like:

git add .
git commit -m "feature: complete step 1 - initial project setup"