{"id":22127578,"url":"https://github.com/capjavert/react-cms-tdd-example","last_synced_at":"2025-10-04T04:58:08.567Z","repository":{"id":39465641,"uuid":"196961160","full_name":"capJavert/react-cms-tdd-example","owner":"capJavert","description":"Example of tests setup for general CMS with react-admin, jest and testcafe","archived":false,"fork":false,"pushed_at":"2023-01-12T23:59:13.000Z","size":5799,"stargazers_count":0,"open_issues_count":28,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T08:31:26.256Z","etag":null,"topics":["cms","jest","react","react-admin","test","testcafe"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capJavert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-15T08:50:52.000Z","updated_at":"2020-07-31T09:14:44.000Z","dependencies_parsed_at":"2023-02-09T13:46:33.385Z","dependency_job_id":null,"html_url":"https://github.com/capJavert/react-cms-tdd-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/capJavert/react-cms-tdd-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capJavert%2Freact-cms-tdd-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capJavert%2Freact-cms-tdd-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capJavert%2Freact-cms-tdd-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capJavert%2Freact-cms-tdd-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capJavert","download_url":"https://codeload.github.com/capJavert/react-cms-tdd-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capJavert%2Freact-cms-tdd-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266894,"owners_count":25958733,"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-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["cms","jest","react","react-admin","test","testcafe"],"created_at":"2024-12-01T17:19:50.610Z","updated_at":"2025-10-04T04:58:08.552Z","avatar_url":"https://github.com/capJavert.png","language":"JavaScript","readme":"# React CMS TDD example\n\n[![Build Status](https://travis-ci.org/capJavert/react-cms-tdd-example.svg?branch=master)](https://travis-ci.org/capJavert/react-cms-tdd-example)\n\nExample of tests setup for general CMS with react-admin, jest, enzyme and testcafe.\n\n## Setup\n\n```\nnpm install\n```\n\n## Available Scripts\n\nIn the project directory, you can run following commands.\n\n### Start\n\n```\nnpm start\n```\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### Fake REST\n\n```\nnpm run fake:rest\n```\n\nRun json-server on [localhost:4444](http://localhost:444) and using `./data/db.json` as data source.\n\n### Test\n```\nnpm test\n```\n\nLaunches the test runner in the interactive watch mode.\n\n```\nnpm run e2e\n```\n\nExecutes e2e tests with testcafe. \u003cbr\u003e\nBe sure to start dev server with `start` command or use `build -- --test` and `serve` commands for production code testing.\u003cbr\u003e\nYou can pass any option supported by [testcafe command](https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html).\n\n**To learn more about tests and how to write them check `./TESTING.md` file.**\n\n### Build\n\n```\nnpm build\n```\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nOptions:\u003cbr\u003e\n--test - **Include test attributes (used for e2e testing selectors)\u003cbr\u003e**\n\nThe build is minified and the filenames include the hashes.\n\n### Serve\n\n```\nnpm serve\n```\n\nServe created build from `./build` folder.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:5000) to view it in the browser.\u003cbr\u003e\nThis command also starts json server like `fake:rest` command.\n\nOptions:\u003cbr\u003e\n--no-json-server - **Do not start json server\u003cbr\u003e**\n--no-public - **Do not server `./build` folder\u003cbr\u003e**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjavert%2Freact-cms-tdd-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapjavert%2Freact-cms-tdd-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjavert%2Freact-cms-tdd-example/lists"}