Skip to content

divvun/satni-frontend

Repository files navigation

Satni.org frontend

This is a frontend for Divvun's GraphQL dictionary and term api backend.

Tech Stack

This project is built with these web technologies:

Getting Started

Prerequisites

  • Node.js 20+ (see .nvmrc)
  • pnpm package manager

Installation

Install all dependencies:

pnpm install

Development

Start the development server:

pnpm dev

The app will be available at http://localhost:3000

Testing

Run tests:

pnpm test

Run tests with UI:

pnpm test:ui

Storybook

Start Storybook for component development:

pnpm storybook

Storybook will be available at http://localhost:6006

Building

Build for production:

pnpm build

Preview the production build:

pnpm preview

Linting & Formatting

Check code quality:

pnpm lint

Auto-fix issues:

pnpm lint:fix

Format code:

pnpm format

Internationalization

Add a new locale:

pnpm add-locale

Extract messages for translation:

pnpm extract

Compile translations:

pnpm compile

Project Structure

  • src/ - Source code
    • features/ - Feature-based modules
    • containers/ - Container components
    • locales/ - Translation files
    • apolloCache.ts - Apollo Client reactive variables
  • public/ - Static assets
  • Tests are in *.test.ts(x) files
  • Storybook stories are in *.stories.ts(x) files

Learning Resources

About

This is a React frontend for Divvun's GraphQL dictionary and term api backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

Languages