Codebase of AYON server web interface
// readme
AYON Frontend
A modern React application for the AYON project management system. Built with Vite, TypeScript, and the AYON React Components library.
Prerequisites
- Node.js 16+
- Yarn or npm package manager
- A running AYON server instance
Getting Started
1. Install Dependencies
yarn install
2. Environment Setup
Create a .env.local file in the root directory with the necessary configuration:
SERVER_URL=http://localhost:5000
Replace http://localhost:5000 with your actual AYON server URL.
3. Start Development Server
yarn dev
The application will be available at http://localhost:3000
Building
# Build for production
yarn build
# Preview the production build locally
yarn preview
Code Quality
# Run ESLint
yarn lint
# Fix ESLint issues
yarn lint:fix
# Format code with Prettier
yarn format
API Code Generation
# Generate REST API types from OpenAPI schema
yarn generate-rest
# Download OpenAPI schema and generate types
yarn generate-rest-all
# Generate GraphQL types from schema
yarn generate-gql
Testing
# Run Playwright tests
yarn test
# Run tests…