Skip to content
This repository was archived by the owner on Aug 9, 2026. It is now read-only.
mok-itPublic archive

Repository files navigation

feladatsor-frontend

A MÖK feladatbeküldő és feladatsor-összeállító rendszere.

Deployments

Development (DEV)

A development version is automatically built and deployed from the main and is available at the following url:

https://feladatsor-dev.web.app/

Production (PROD)

A production version is automatically built and deployed from the main branch when a new version tag is created. It is available at the following url:

https://feladatsor.mokegyesulet.hu/

The DEV and PROD builds of the app connect to different corresponding backend environments.

Talon status

The Talon workflow is intentionally not implemented in the frontend. It made the exercise-sheet composition process too complicated from both a UX and a technical perspective. The backend retains Talon data and API support for now, but the frontend does not query, display, or modify it. Talon-specific comments are intentionally unsupported in both layers.

Setup

  • Install dependencies: yarn
  • Run locally: yarn dev. The application runs on http://localhost:5173/ by default.

File structure

  • src
    • components: reusable React components
    • generated: don't touch this
    • graphql: query and mutation definitions
    • pages: React page components
    • theme: MUI themes
    • util
  • functions: Firebase functions

Code formatting

Install prettier extension for VSCode. See .prettierrc for styling configuration.

Graphql

Use the sandbox at https://api.febe.anton.areba.hu/graphql to write queries, then copy them into src/graphql/queries or src/graphql/mutations

Names of queries/mutaitons should start with select, insert, update or delete, then the entity name e.g. Exercise. If the query/mutation handles multiple entities, use plural form.

Examples:

  • selectExercises
  • insertComment
  • selectUsersByRole

After writing graphql, generate hooks and types: yarn generate.

CI/CD

GitHub actions are set to deploy automatically when main brach updates or a PR is opened.

Releases

Packages

Used by

Contributors

Languages