{"id":20710934,"url":"https://github.com/entur/enki","last_synced_at":"2025-07-22T10:32:52.272Z","repository":{"id":38729780,"uuid":"164832332","full_name":"entur/enki","owner":"entur","description":"Front-end for Nplan","archived":false,"fork":false,"pushed_at":"2025-07-18T13:58:25.000Z","size":14079,"stargazers_count":11,"open_issues_count":31,"forks_count":7,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-18T18:21:22.251Z","etag":null,"topics":["enki","frontend","nplan","ror","uttu"],"latest_commit_sha":null,"homepage":"https://nplan.entur.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/entur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-09T09:33:15.000Z","updated_at":"2025-07-18T13:57:22.000Z","dependencies_parsed_at":"2023-10-15T02:42:38.025Z","dependency_job_id":"2be7e127-1784-49a6-9182-26038dcf8649","html_url":"https://github.com/entur/enki","commit_stats":null,"previous_names":[],"tags_count":1001,"template":false,"template_full_name":null,"purl":"pkg:github/entur/enki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fenki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fenki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fenki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fenki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entur","download_url":"https://codeload.github.com/entur/enki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fenki/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475112,"owners_count":23934884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["enki","frontend","nplan","ror","uttu"],"created_at":"2024-11-17T02:13:35.352Z","updated_at":"2025-07-22T10:32:52.263Z","avatar_url":"https://github.com/entur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enki\n![Build](https://github.com/entur/enki/actions/workflows/build.yml/badge.svg?event=push)\n [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=entur_enki\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=entur_enki)\n\nFrontend app for Nplan - a simple timetable editor. Backend is [Uttu](https://github.com/entur/uttu).\n\n## Development\n\nTo run for development, simply do:\n\n```\nnpm install\nnpm start\n```\nSee http://localhost:3001/providers or http://localhost:3001/lines for providers and lines.\n\nNote: The app uses Node version 22 (LTS).\n\nTo run together with a local instance of [Uttu](https://github.com/entur/uttu) on port 11701, add the following to `.env.development.local`.\n\n```\nREACT_APP_UTTU_API_URL=http://localhost:11701/services/flexible-lines\n```\n\n## Configuration\n\nConfiguration is bootstrapped from `/bootstrap.json`, when the app loads. You should add your environment-specific\nconfig to the deployment, along with the built static files (i.e. in the `build/` folder).\n\nFor local development, add a `bootstrap.json` file to the `public/` folder, e.g.:\n```\n$ cp .github/environments/local.json public/bootstrap.json\n```\n\nSee `src/config/ConfigContext.ts` for the shape of the configuration.\n\n## Authentication\n\nUses OIDC for authentication. This solution is agnostic to which authentication provider you use.\n\nExample configuration (works with Auth0):\n\n```json\n{\n  \"oidcConfig\": {\n    \"authority\": \"https://\u003cauthentication domain\u003e\",\n    \"client_id\": \"\u003cclient id\u003e\",\n    \"extraQueryParams\": {\n      \"audience\": \"\u003cexample audience\u003e\"\n    }\n  }\n}\n  ```\n\nFor full configuration reference, see [oidc-client-ts documentation](https://authts.github.io/oidc-client-ts/interfaces/UserManagerSettings.html).\n\n### Bypass authentication locally\n\nIt's possible to bypass authentication locally with the configuration parameter `disableAuthentication`\nset to `true`. This can be used in combination with the `local-no-authentication` profile in the backend.\n\n\n## Testing\n\nUses [Jest](https://facebook.github.io/jest) for unit and reducer testing.\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fenki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentur%2Fenki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fenki/lists"}