8b1703dce97e3f53810c2d5acf78f58c573135d9
CI / Generate TypeScript types (push) Successful in 10s
CI / Generate TypeScript types (pull_request) Successful in 11s
CI / Server unit tests (push) Failing after 24s
CI / Build server (push) Successful in 24s
CI / Server unit tests (pull_request) Failing after 18s
CI / Build client (push) Successful in 31s
CI / Build server (pull_request) Successful in 25s
CI / Build client (pull_request) Successful in 32s
CI / Playwright E2E tests (push) Successful in 1m17s
CI / Build and push Docker image (push) Has been skipped
CI / Playwright E2E tests (pull_request) Successful in 1m9s
CI / Notify (push) Successful in 2s
CI / Build and push Docker image (pull_request) Has been skipped
CI / Notify (pull_request) Has been skipped
- odstraněn .woodpecker/workflow.yaml (CI přesunuto na Gitea Actions) - tsconfig.json: exclude src/tests/**/* (feat/tests verze) - jest.config.js: testEnvironment node + master cesty - auth/pizza/voting tests: union obou větví, použit resetMemoryStorage() - service.test.ts: jest.useFakeTimers místo MOCK_DATA=true - všechny testy: 167/167 PASS
Luncher
Aplikace pro profesionální management obědů.
Aplikace sestává ze tří modulů.
- types
- OpenAPI definice společných typů, generované přes openapi-ts
- server
- backend psaný v node.js
- client
- frontend psaný v React.js
Spuštění pro vývoj
Závislosti
Klient/server
Spuštění na *nix platformách
- Nainstalovat závislosti viz předchozí bod
- Zkopírovat
server/.env.templatedoserver/.env.developmenta upravit dle potřeby - Vygenerovat společné TypeScript typy
cd types && yarn install && yarn openapi-ts
- Server
cd server && yarn install && export NODE_ENV=development && yarn startReload
- Klient
cd client && yarn install && yarn start
Sestavení a spuštění produkční verze v Docker
Závislosti
Spuštění
docker compose up --build -d
Spuštení s traefik
docker compose -f compose-traefik.yml up --build -d
TODO
Dostupné zde.
Description
Languages
TypeScript
92%
SCSS
5.9%
JavaScript
0.6%
CSS
0.6%
Dockerfile
0.5%
Other
0.4%