🔒 Acceso Protegido

Esta documentación requiere autenticación

Skip to content

Frontend Foundations

This section covers the fundamentals needed to develop with OnSpot's frontend ecosystem. It includes both the core framework and the UI components system.

Sections

🏗️ Core Framework

Development fundamentals with Next.js and OnSpot's base architecture.

Main content:

🎨 OnSpot-UX

Design system and reusable UI components library.

Main content:


Technology Stack

Core Framework

  • Next.js 13.5.1 - React framework with SSR/SSG
  • React 18.2.0 - User interface library
  • TypeScript 5 - Static typing for JavaScript
  • Sass - CSS preprocessor for styling
  • Apollo Client - GraphQL client for API communication

Component System

  • @twlgroup/onspot-ux - UI component library
  • @twlgroup/onspot-connections-ui-beta - Connection hooks and utilities
  • Storybook - Component development tool

Development Tools

  • ESLint - Code quality linter
  • Prettier - Code formatter
  • Bun/npm - Package managers

For New Developers

  1. Start with Core Framework

  2. Explore OnSpot-UX

  3. Practical Implementation

For Experienced Developers

  • Review specific configuration files
  • Explore advanced OnSpot-UX components
  • Contribute to the design system

Best Practices

  1. Use OnSpot-UX components whenever possible
  2. Follow the folder structure established in Next.js
  3. Use TypeScript for strong typing
  4. Run linting and formatting before commits
  5. Document components in Storybook when creating them
  6. Maintain consistency with the established design system

OnspotIntl Documentation