Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 2.11 KB

README.md

File metadata and controls

84 lines (70 loc) · 2.11 KB

EESTI INTERNETI SA - Registrant Center

Tech Stack 🛠

Core Technologies

Development Tools

  • Bundler: Vite v6
  • Language: Modern JavaScript (ES2020+)
    • Full ESM support (import/export)
    • Latest ECMAScript features
    • TypeScript and JSX support

Quality Assurance

Getting Started 🚀

Prerequisites

  • Node.js 22 or higher
  • npm 10 or higher

Setup

  1. Clone the repository
  2. Create .env file:
    cp .env.example .env
  3. Install dependencies and deploy:
    npm i
    npm run deploy

Available Scripts 📜

Development

npm start          # Start development server with hot reload and linting
npm run dev        # Start Vite development server
npm run dev:server # Start backend server in development mode

Building

npm run build     # Build the application for production
npm run preview   # Preview the production build locally

Production

npm run serve     # Start production server

Linting

npm run lint      # Run ESLint check
npm run lint:fix  # Fix ESLint issues automatically
npm run lint:watch # Watch files and run linting on changes

Testing

npm run test      # Run linting and unit tests
npm run coverage  # Run tests with coverage report
npm run test:e2e  # Run end-to-end tests
npm run cypress:open  # Open Cypress test runner
npm run cypress:run  # Run Cypress tests in headless mode

Deployment

npm run deploy    # Full deployment process: test, build, e2e tests, and serve