{"id":18868925,"url":"https://github.com/ndlano/learningpath-frontend","last_synced_at":"2025-04-14T15:13:52.737Z","repository":{"id":10523686,"uuid":"65357273","full_name":"NDLANO/learningpath-frontend","owner":"NDLANO","description":"NDLA Learningpath Frontend at https://stier.ndla.no","archived":false,"fork":false,"pushed_at":"2025-03-06T12:13:13.000Z","size":5384,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-14T15:13:46.747Z","etag":null,"topics":["auth0","babel","education","express","javascript","react","react-router-v4","redux","redux-thunk","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NDLANO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-08-10T06:41:59.000Z","updated_at":"2025-03-06T12:13:13.000Z","dependencies_parsed_at":"2024-04-24T11:47:17.939Z","dependency_job_id":"21f742c0-c12b-411c-b285-7d2e7b5ee071","html_url":"https://github.com/NDLANO/learningpath-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NDLANO%2Flearningpath-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NDLANO%2Flearningpath-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NDLANO%2Flearningpath-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NDLANO%2Flearningpath-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NDLANO","download_url":"https://codeload.github.com/NDLANO/learningpath-frontend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"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","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":["auth0","babel","education","express","javascript","react","react-router-v4","redux","redux-thunk","webpack"],"created_at":"2024-11-08T05:15:15.672Z","updated_at":"2025-04-14T15:13:52.702Z","avatar_url":"https://github.com/NDLANO.png","language":"JavaScript","readme":"# NDLA Learningpath front-end\n\n![CI](https://github.com/NDLANO/learningpath-frontend/workflows/CI/badge.svg)\n\nThe front-end code powering [https://stier.ndla.no](https://stier.ndla.no).\n\nNorwegian Digital Learning Arena (NDLA) (Norwegian: Nasjonal digital læringsarena) is a joint county enterprise offering [open digital learning assets](https://en.wikipedia.org/wiki/Digital_learning_assets) for upper secondary education. In addition to being a compilation of [open educational resources (OER)](https://en.wikipedia.org/wiki/Open_educational_resources), NDLA provides a range of other online tools for sharing and cooperation.\n\n## Requirements\n\n- Node.JS 20.13\n- yarn ~1.15\n- Docker (optional)\n\n## Getting started\n\nWhat's in the box?\n\n- React\n- Redux\n- Express\n- Webpack + Babel (ES6) via Razzle\n\n### Dependencies\n\nAll dependencies are defined in `package.json` and are managed with yarn. To\ninitially install all dependencies and when the list dependency has changed,\nrun `yarn`.\n\n```\n$ yarn\n```\n\n### Start development server\n\nStart node server with hot reloading middleware listening on port 3000.\n\n```\n$ yarn start\n```\n\nTo use a different api set the `NDLA_ENVIRONMENT` environment variable.\n\n### Unit tests\n\nTest framework: [Jest](https://github.com/facebook/jest) with [Enzyme](https://airbnb.io/enzyme/)\n\n```\n$ yarn test\n```\n\n### e2e tests\n\n[Cypress](https://www.cypress.io/) is used for end to end testing.\n\n```\n$ yarn e2e\n```\n\n### Code style\n\n[Prettier](https://prettier.io/) is used for automatic code formatting.\n\n```\n$ yarn format\n```\n\n```\n$ yarn format-check\n```\n\n### ES Linting\n\nEslint is used for linting javascript code.\n\n```\n$ yarn lint-es\n```\n\nRules are configured in `./eslintrc` and extends [esling-config-ndla](https://github.com/NDLANO/frontend-packages/tree/master/packages/eslint-config-ndla).\n\n### CSS Linting\n\nj\nCheck for errors with [stylelint](https://github.com/stylelint/stylelint):\n\n```\n$ yarn lint-style\n```\n\nRules are configured in `./.stylelintrc.js` and extends [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard).\n\n## Other scripts\n\n```\n# GTG? Checks code formating, linting and runs unit tests:\n$ yarn check-all\n```\n\n```\n# Create minified production ready build:\n$ yarn build\n```\n\n```\n# Start a production build:\n$ yarn start-prod\n```\n\n```\n# Do you TDD?\n$ yarn tdd\n```\n\n```\n# Docker stuff\n$ ./build.sh\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndlano%2Flearningpath-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndlano%2Flearningpath-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndlano%2Flearningpath-frontend/lists"}