{"id":26822564,"url":"https://github.com/pmarkaide/42_transcendence","last_synced_at":"2026-01-11T02:51:56.954Z","repository":{"id":284724924,"uuid":"954664271","full_name":"pmarkaide/42_transcendence","owner":"pmarkaide","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-27T10:08:11.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T11:24:23.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/pmarkaide.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":"2025-03-25T12:34:31.000Z","updated_at":"2025-03-27T10:08:17.000Z","dependencies_parsed_at":"2025-03-27T11:24:24.736Z","dependency_job_id":"caed6aa9-1b3e-4fd2-8d22-429592f8774b","html_url":"https://github.com/pmarkaide/42_transcendence","commit_stats":null,"previous_names":["pmarkaide/42_transcendence"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmarkaide%2F42_transcendence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmarkaide%2F42_transcendence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmarkaide%2F42_transcendence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmarkaide%2F42_transcendence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmarkaide","download_url":"https://codeload.github.com/pmarkaide/42_transcendence/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290932,"owners_count":20753783,"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":[],"created_at":"2025-03-30T08:18:57.342Z","updated_at":"2026-01-11T02:51:56.949Z","avatar_url":"https://github.com/pmarkaide.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42_transcendence\n\nRun the docker compose\n\n```\ndocker-compose up --build\n```\n\nOR run manually:\n\ncreate database\n\n`cd SQLite`\n\n`docker build -t db .`\n\n`docker run -d --name sqlite -v $(pwd)/data:/data db`\n\nto run backend:\n\n`cd backend`\n\n`npm install fastify`\n\n`npm install -D nodemon`\n\n`npm install sqlite3`\n\n`npm install @fastify/swagger @fastify/swagger-ui`\n\n`npm run dev`\n\nto create test users:\n\n`cd SQLite`\n\n`sh create_users.sh`\n\nif you go to localhost:8888/documentation you can see the API endpoints instead\n\n--- \n\n## Unit tests\n\nThe backend uses TAP for testing. TAP will automatically run every file with \"test\" in its name as well as everything inside the test directory.\n\n### Running Unit Tests\nTo run all the unit tests, execute: \n\n`docker-compose run --rm backend npm test`  \n\n### Viewing Full Coverage Report\nIf you want to see a detailed coverage report, run:  \n\n`docker-compose run --rm backend npm test -- --show-full-coverage`  \n\n### Allowing Incomplete coverage\nBy default, TAP may return a non-zero exit code if code coverage is not 100%. To allow incomplete coverage and avoid failing the build, use:  \n\n`docker-compose run --rm backend npm test -- --allow-incomplete-coverage`  \n\n`Note: The docker-compose command may be system specific. Adjust the command accordingly if your setup differs.`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmarkaide%2F42_transcendence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmarkaide%2F42_transcendence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmarkaide%2F42_transcendence/lists"}