Skip to content

Repository files navigation

Thesis Product Demo Next banner

Release License Next.js OpenAI Ready Vercel

Thesis Product Demo Next

Deployable Next.js thesis-generation product page with a minimal backend.

This repository packages a polished web demo for a thesis-generation product, combining a landing page, interactive research intake form, downloadable thesis assets, and a small server route that can return either fallback package output or live model-backed output when API credentials are configured.

At a Glance

  • Next.js App Router product page
  • Interactive thesis intake form and live package preview
  • Minimal backend route at /api/generate-thesis
  • OpenAI-ready backend integration with safe fallback mode
  • Download shelf for real proposal artifacts and supporting files
  • Vercel-ready deployment configuration

Preview

Thesis Product Demo Next preview

Architecture

flowchart LR
    A["Research Intake Form"] --> B["Next.js UI State"]
    B --> C["POST /api/generate-thesis"]
    C --> D["Fallback Thesis Package"]
    C --> E["OpenAI Responses Backend"]
    D --> F["Live Package Preview"]
    E --> F
    F --> G["Download Shelf"]
    F --> H["Deployment Demo Surface"]
Loading

What The Demo Includes

  • thesis-generation product homepage
  • interactive preview panel for research questions, chapter deck, tags, and logs
  • academic figure showcase
  • downloadable proposal files
  • backend response mode indicator

Repository Layout

app/
  api/generate-thesis/route.js
  globals.css
  layout.js
  page.js
components/
  product-demo.jsx
lib/
  thesis-generator.js
  thesis-preview.js
public/
  downloads/
  figures/
assets/
  banner.svg
  preview.svg

Quick Start

Install dependencies:

npm install

Run locally:

npm run dev

Build for production:

npm run build

Start production mode:

npm run start

Environment Variables

Copy .env.example and configure:

  • OPENAI_API_KEY
  • OPENAI_MODEL

If OPENAI_API_KEY is missing, the backend automatically returns a structured fallback package so the demo still works.

Deployment

This repository is prepared for Vercel deployment and already includes:

  • vercel.json
  • next.config.mjs
  • a webpack build path chosen for stable Windows builds

Live demo homepage:

Companion Repositories

License

MIT

About

Deployable Next.js thesis-generation product demo with a minimal backend

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages