{"id":22825771,"url":"https://github.com/wlsf82/frontend-and-backend","last_synced_at":"2025-04-23T08:14:51.023Z","repository":{"id":43683353,"uuid":"400571496","full_name":"wlsf82/frontend-and-backend","owner":"wlsf82","description":"Sample project with basic \"backend\" and frontend, running Cypress tests on GitHub Actions.","archived":false,"fork":false,"pushed_at":"2023-11-24T23:57:33.000Z","size":746,"stargazers_count":29,"open_issues_count":4,"forks_count":29,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T08:14:44.936Z","etag":null,"topics":["frontend","github-actions","react","testing","vercel"],"latest_commit_sha":null,"homepage":"https://frontend-and-backend-jet.vercel.app","language":"JavaScript","has_issues":false,"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/wlsf82.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-27T16:27:58.000Z","updated_at":"2025-04-14T19:28:26.000Z","dependencies_parsed_at":"2024-12-12T17:22:12.801Z","dependency_job_id":null,"html_url":"https://github.com/wlsf82/frontend-and-backend","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/wlsf82%2Ffrontend-and-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Ffrontend-and-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Ffrontend-and-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wlsf82%2Ffrontend-and-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wlsf82","download_url":"https://codeload.github.com/wlsf82/frontend-and-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250395285,"owners_count":21423400,"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":["frontend","github-actions","react","testing","vercel"],"created_at":"2024-12-12T17:12:01.473Z","updated_at":"2025-04-23T08:14:51.004Z","avatar_url":"https://github.com/wlsf82.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frontend-and-backend\n\n![CI](https://github.com/wlsf82/frontend-and-backend/actions/workflows/ci.yml/badge.svg)\n\nSample project with basic \"backend\" and frontend, running Cypress tests on GitHub Actions.\n\n## Pre-requirements\n\nTo run this project, you will need:\n\n- [git](https://git-scm.com/downloads) (I've used version `2.34.1` while writing this doc)\n- [Node.js](https://nodejs.org/en/) (I've used version `v18.15.0` while writing this doc)\n- npm (I've used version `9.5.0` while writing this doc)\n\n**Note:** When installing Node.js, npm is automatically installed too.\n\n## Installing and starting the servers\n\nRead the following [doc](./TestEnvironment.md) to install and start the backend and frontend servers.\n\n## Installation of `devDependencies`\n\nAfter cloning this project, to install the dev dependencies, run `npm install` (or `npm i` for short.)\n\n## Tests\n\nRun `npm run test:frontend:unit` to run the frontend unit tests.\n\nRun `npm run test:api:with:servers` to run the API tests.\n\n\u003e **Note:** These scripts starts the required servers before-hand, and shuts them down when tests finish running.\n\nRun `npm run test:frontend:with:server` to run the UI tests in headless mode.\n\n\u003e **Note 2:** This script starts the frontend server before-hand, and shuts it down when tests finish running.\n\u003e\n\u003e **Note 3:** When running in headless mode, if tests fail, Cypress automatically saves screenshots of the failures at `cypress/screenshots/`.\n\n### Interactive mode\n\n1. Run `npm run cy:open:with:servers` to open the Cypress Test Runner to run tests in interactive mode.\n\n\u003e **Note 4:** This script starts the required servers before-hand, and shuts them down after the runner is closed.\n\n2. With the test runner opened, click on the test file you want to test.\n\n___\n\nMade with ❤️ by [Walmyr](https://walmyr.dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlsf82%2Ffrontend-and-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwlsf82%2Ffrontend-and-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwlsf82%2Ffrontend-and-backend/lists"}