A modern, professional web application for designing, training, and evaluating neural networks in your browser. Built with React, TypeScript, and TensorFlow.js.
- Drag-and-drop layer creation
- 15+ layer types (Conv2D, LSTM, Transformer, Attention, etc.)
- Real-time architecture validation
- Smart layer suggestions
- Transfer learning support
- Pre-built architecture templates
- Sample datasets (MNIST, CIFAR-10, Fashion MNIST, IMDB)
- Custom dataset upload (images, CSV, JSON)
- Data augmentation pipeline
- Train/validation/test splitting
- Preprocessing configuration
- Real-time training visualization
- Live metrics (loss, accuracy)
- Learning rate scheduling
- Early stopping
- Model checkpointing
- GPU acceleration (WebGL)
- Confusion matrix
- ROC curves
- Per-class metrics
- Interactive visualizations
- Model comparison
- Save/load models
- Export to TensorFlow.js format
- Version history
- Model sharing
- Node.js 20+
- pnpm 8+ (recommended) or npm
# Clone the repository
git clone https://github.com/biblicalandr0id/Neural-Network-Builder.git
cd Neural-Network-Builder
# Install dependencies
pnpm install
# Start development servers (frontend + backend)
pnpm devThe application will be available at:
- Frontend: http://localhost:3000
- Backend API: http://localhost:4000
- API Docs: http://localhost:4000/api/v1
- Framework: React 18.2 with TypeScript 5.3
- Build Tool: Vite 5
- State Management: Zustand with persist & immer middleware
- UI Components: Radix UI + shadcn/ui
- Styling: Tailwind CSS 3
- ML Framework: TensorFlow.js 4.x
- Visualization: Recharts, TensorFlow.js Vis
- Routing: React Router 6
- Runtime: Node.js 20
- Framework: Express 4
- Language: TypeScript 5.3
- Security: Helmet, CORS
- Validation: Zod
- Monorepo: pnpm workspaces
- Build System: Turborepo
- Code Quality: ESLint, Prettier
- Testing: Vitest, React Testing Library
Neural-Network-Builder/
βββ packages/
β βββ frontend/ # React application
β β βββ src/
β β β βββ components/ # UI components
β β β βββ pages/ # Route pages
β β β βββ store/ # Zustand stores
β β β βββ services/ # TensorFlow.js services
β β β βββ hooks/ # Custom React hooks
β β βββ package.json
β β
β βββ backend/ # Express API server
β β βββ src/
β β β βββ routes/ # API routes
β β β βββ services/ # Business logic
β β β βββ middleware/ # Express middleware
β β βββ package.json
β β
β βββ shared/ # Shared types & utilities
β βββ src/
β β βββ types/ # TypeScript interfaces
β β βββ constants/ # Shared constants
β β βββ validators/ # Zod schemas
β βββ package.json
β
βββ docs/ # Documentation
βββ turbo.json # Turborepo config
βββ pnpm-workspace.yaml # Workspace config
βββ package.json # Root package
# Development (runs frontend + backend concurrently)
pnpm dev
# Build all packages
pnpm build
# Run tests
pnpm test
# Lint code
pnpm lint
# Format code
pnpm format
# Type check
pnpm type-check
# Clean build artifacts
pnpm clean# Frontend only
pnpm --filter frontend dev
# Backend only
pnpm --filter backend dev
# Shared package
pnpm --filter shared build# Run all tests
pnpm test
# Run tests in watch mode
pnpm test:watch
# Run tests with coverage
pnpm test:coverage- Monorepo structure
- Type system
- State management
- Routing
- Basic UI components
- Complete architect page with layer builder
- Dataset manager with upload functionality
- Training simulator with real-time visualization
- Evaluation dashboard with metrics
- Model import/export
- Collaborative editing (WebSockets)
- Cloud training integration
- Model marketplace
- AutoML capabilities
- Mobile app
- Comprehensive testing
- Performance optimization
- Security audit
- Deployment pipeline
- Documentation completion
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- TensorFlow.js team for the amazing ML framework
- Radix UI and shadcn/ui for beautiful, accessible components
- The open-source community for inspiration and tools
- GitHub: @biblicalandr0id
- Project: Neural Network Builder
Built with β€οΈ using React, TypeScript, and TensorFlow.js