{"id":17062409,"url":"https://github.com/devpaul/catsvsdogs","last_synced_at":"2026-01-19T11:32:48.431Z","repository":{"id":42259733,"uuid":"154235083","full_name":"devpaul/catsvsdogs","owner":"devpaul","description":"Spaces vs Tabs? Cats vs Dogs? Take a vote!","archived":false,"fork":false,"pushed_at":"2023-01-07T19:28:18.000Z","size":28396,"stargazers_count":0,"open_issues_count":40,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T23:32:16.548Z","etag":null,"topics":["dojo","nestjs"],"latest_commit_sha":null,"homepage":"https://devpaul.github.io/catsvsdogs/dist/","language":"TypeScript","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/devpaul.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":"2018-10-23T00:23:21.000Z","updated_at":"2020-06-28T18:21:31.000Z","dependencies_parsed_at":"2023-02-07T22:45:31.885Z","dependency_job_id":null,"html_url":"https://github.com/devpaul/catsvsdogs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devpaul/catsvsdogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpaul%2Fcatsvsdogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpaul%2Fcatsvsdogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpaul%2Fcatsvsdogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpaul%2Fcatsvsdogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devpaul","download_url":"https://codeload.github.com/devpaul/catsvsdogs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpaul%2Fcatsvsdogs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28566442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dojo","nestjs"],"created_at":"2024-10-14T10:49:53.483Z","updated_at":"2026-01-19T11:32:48.418Z","avatar_url":"https://github.com/devpaul.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cats vs. Dogs\n\nThis project was generated with the [Dojo CLI] \u0026 [Dojo CLI create app command](https://github.com/dojo/cli-create-app).\n\nThis app is a demo for a fun and not serious conference talk about JavaScript and tech debates and memes (e.g. tabs vs. spaces, classes vs. not), with the ultimate debate being whether we prefer cats or dogs.\n\nIt has been presented at [HalfStack 2018](https://halfstackconf.com/london/2018/) and the [November 2018 Phoenix TypeScript meetup](https://www.meetup.com/Phoenix-TypeScript/events/255940576/). Here are the [slides for the Phoenix TypeScript presentation](https://devpaul.github.io/catsvsdogs-slides/#/19).\n\nThe Cats vs. Dogs app leverages modern [Dojo], Web Animation, WebAudio, and more for this simple demo app.\n\n## Overview\n\nThis repository contains both the client and server for cats vs dogs located in their respective directories. The root directory of this project provides scripts applicable to the entire project.\n\n### Quick Start\n\n-   run `npm install` to install all dependencies\n-   to build the client run `npm run build`\n-   to start the server run `npm run start`\n-   open http://localhost:3000\n\n### Deploy\n\nCatsvsDogs can be deployed to [Now] using `npm run deploy:now`. You will need to have an account and be logged in using the now CLI.\n\nThe client can also be deployed to Github pages using `npm run deploy:gh`\n\n### Docker\n\nBuild the image\n\n`docker build -t \"catsvsdogs\" .`\n\nRun the image\n\n`docker run -p 3000 --name versus catsvsdogs`\n\nDebug the image\n\n`docker exec -it versus /bin/bash`\n\n## Client\n\nThe client, located under the `client` directory, is built using [Dojo CLI].\n\n### Build\n\nThen run `dojo build --mode dist` (the `mode` option defaults to `dist`) to create a production build for the project. The built artifacts will be stored in the `output/dist` directory.\n\n### Development Build\n\nRun `dojo build --mode dev` to create a development build for the project. The built artifacts will be stored in the `output/dev` directory.\n\n### Development server\n\nRun `dojo build --mode dev --watch memory --serve` to create an in memory development build and start a development server with hot reload. By default the server runs on port `9999`, navigate to `http://localhost:9999/`.\n\nTo change the port of the development use the `--port` option.\n\n### Further help\n\nTo get help for these commands and more, run `dojo` on the command line.\n\n## Server\n\nThe server is located under the `server` directory and uses [NestJS] to provide APIs to the client.\n\n### Starting\n\nThe server uses `ts-node` and does not require a build to start. Use `npm run start` to start the server.\n\n## Acknowledgements\n\n-   Cat \u0026 Dog created by [Terdpongvector](https://www.freepik.com/terdpongvector)\n-   [Meow sound](https://freesound.org/people/tuberatanka/sounds/110011/) created by Tuberatanka\n-   [Bark sound](https://www.soundsnap.com/audio/mp3/248977/Large%20Dog%20Bark%203.mp3) by Soundsnap\n-   [Yoda Image source](https://bankkita.com/images/yoda-clipart-small-3.jpg)\n-   [Spock image](https://www.deviantart.com/zombiedaisuke/art/StarTrek-Chibi-KS-145877655) by [Zombie Daisuke](https://www.deviantart.com/zombiedaisuke)\n-   [Yoda Audio](http://www.realmofdarkness.net/sb/sw-yoda/) from Realm of Darkness soundboard\n-   [Starfleet logo](https://upload.wikimedia.org/wikipedia/commons/6/66/USS_Enterprise_Patch.svg) Wikipedia\n-   [Rebel logo](https://upload.wikimedia.org/wikipedia/commons/2/2a/Rebel_Alliance_logo.svg) Wikipedia\n\n[dojo]: https://dojo.io/\n[dojo cli]: https://github.com/dojo/cli\n[nestjs]: https://nestjs.com\n[now]: (https://zeit.co/now)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpaul%2Fcatsvsdogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevpaul%2Fcatsvsdogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpaul%2Fcatsvsdogs/lists"}