This project contains three simple browser-based applications built with Bootstrap 5 and plain JavaScript:
- Chat app for programming and system design Q&A
- MCP information app for Model Context Protocol learning
- RAG demo app using user-provided text files
- index.html - Main landing page and submission instructions
- chat.html - AI chat application using Groq API
- mcp.html - MCP learning and setup page
- rag.html - Simple Retrieval-Augmented Generation demo
- A modern browser (Chrome, Edge, Firefox)
- Internet connection (for CDN assets and API calls)
- A Groq API key for applications that use AI responses
- Download or clone this project folder.
- Open index.html in your browser.
- Navigate to each app from the links on the index page.
- Update required values where needed (for example API key fields).
- Test each application end-to-end.
Open chat.html.
What it does:
- Lets students ask programming and system design questions
- Calls Groq chat completions API
- Displays conversational responses in a Bootstrap chat interface
What to configure:
- Paste a valid Groq API key in the provided input field
Open mcp.html.
What it does:
- Explains Model Context Protocol (MCP)
- Shows common MCP servers and setup guidance
- Provides educational examples and walkthrough sections
What to configure:
- No required runtime configuration for viewing content
Open rag.html.
What it does:
- Accepts
.txtuploads as local knowledge data - Splits text into chunks
- Retrieves relevant chunks using simple keyword overlap
- Sends context + question to Groq for grounded answers
What to configure:
- Paste a valid Groq API key
- Upload one or more
.txtfiles
Students must submit screenshots from all three applications.
- Run and verify chat.html.
- Run and verify mcp.html.
- Run and verify rag.html.
- Capture one screenshot from each application while working.
- Submit all three screenshots as the final submission.
- Keep API keys private and never share them in screenshots.
- If API calls fail, first verify the API key and internet connection.
- This project is intentionally simple for classroom learning and demonstration.