metadata
title: NLP IBM Debater
emoji: π
colorFrom: indigo
colorTo: red
sdk: static
pinned: false
app_build_command: npm run build
app_file: build/index.html
license: mit
NLP IBM Debater β React + Tailwind Workspace
An opinionated Create React App setup designed for fast iteration on NLP experiences. Tailwind CSS is wired in, and the app structure is organized for feature-first development.
Project structure
src/app/App.jsxβ root composition.src/app/layouts/MainLayout.jsxβ shared shell with navigation and footer.src/app/pages/HomePage.jsxβ starter page showing layout and cards.src/app/components/β reusable UI (navigation/common).src/app/data/β UI copy and data stubs.LLM_GUIDE.mdβ instructions for AI collaborators.tailwind.config.jsandpostcss.config.jsβ Tailwind setup.
Scripts
npm startβ run the dev server.npm testβ run tests in watch mode.npm run buildβ production build.
Tailwind usage
Tailwind is configured via tailwind.config.js. Global styles live in src/index.css with Tailwind directives. Use utility classes for new UI and extend the config when adding design tokens.
Adding features
- Create a page in
src/app/pagesand wire it throughApp.jsx. - Add shared UI to
src/app/components. - Store static copy or mock data in
src/app/data. - Write behavioral tests with React Testing Library.
For more collaboration guidance, see LLM_GUIDE.md.