GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - NyohoSampleCodes/pyconjp2025-camp-tutorialclient

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

React Vite Client

This project is a React application built with Vite that allows users to query an API endpoint and display the results. The application provides a user-friendly interface for inputting queries and viewing responses.

Project Structure

react-vite-client
├── src
│   ├── App.tsx               # Main application component
│   ├── main.tsx              # Entry point of the React application
│   ├── components
│   │   ├── QueryForm.tsx     # Component for user input form
│   │   └── ResultDisplay.tsx  # Component for displaying API results
│   ├── types
│   │   └── index.ts          # TypeScript interfaces for API data
│   └── services
│       └── api.ts            # API service for making requests
├── index.html                 # Main HTML file
├── package.json               # npm configuration file
├── tsconfig.json             # TypeScript configuration file
└── vite.config.ts            # Vite configuration file

Setup Instructions

  1. Clone the repository:

    git clone <repository-url>
    cd react-vite-client
    
  2. Install dependencies:

    npm install
    
  3. Run the application:

    npm run dev
    
  4. Open your browser: Navigate to http://localhost:8000 to view the application.

Usage

  • Use the input form to modify the "q" parameter and submit your query.
  • The results from the API will be displayed below the form in a structured format.

API Endpoint

The application makes a POST request to the /multi-async endpoint with the following JSON structure:

{
  "key": "pyconjp2025",
  "q": "<your-query>",
  "options": {
    "models": [
      "gemini-2.0-flash", "gemini-1.5-flash"
    ],
    "roles": [
      "あなたは日本の中学生です。。", "あなたは数学者です。"
    ],
    "max_tokens": 1024
  }
}

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.