daff8d4e350d3da9764517b2a2950a1b6d2e81e4
Refactor NimgsearchUtil to a class accepting path and xoonipsPath in the constructor. Pass these props down from Page and routes to NimgsearchPage to dynamically construct brain image, brainarea config, and help video URLs. Also include VS Code configuration settings, tasks, and cleanup plan files.
NeuroImaging Platform
React project for nimg.neuroinf.jp
Tech Stack
- Build tool: Vite
- Framework: React 19
- Language: TypeScript
- HTTP client: ky
- Formatter: Biome
Prerequisites
- Node.js 24
Getting Started
npm install
npm run dev
Open http://localhost:5173 to view the app in the browser.
Available Scripts
npm run dev
Starts the development server with hot module replacement.
npm run build
Builds the app for production to the build folder.
npm run preview
Previews the production build locally.
npm run format
Formats all source files using Biome.
Project Structure
src/
├── brainexplorer/ # Brain Explorer module
├── common/ # Shared components and utilities
├── config.ts # Application configuration
├── credits/ # Credits module
├── custom/ # Custom components (Header, Footer, Page)
├── functions.ts # Utility functions
├── index.tsx # Entry point
├── nimgcenter/ # NIMG Center module
├── nimgdocs/ # NIMG Docs module
├── nimgsearch/ # NIMG Search module
└── xoonips/ # XooNIps integration module
Languages
TypeScript
84.2%
PHP
12.5%
CSS
2.9%
Shell
0.2%