{"id":22533554,"url":"https://github.com/vectormike/crispy-train","last_synced_at":"2025-03-28T05:43:14.733Z","repository":{"id":101868036,"uuid":"408147421","full_name":"Vectormike/crispy-train","owner":"Vectormike","description":"Redis Pub/Sub implementation","archived":false,"fork":false,"pushed_at":"2021-09-22T09:27:09.000Z","size":361,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T06:41:28.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Vectormike.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-09-19T14:21:39.000Z","updated_at":"2022-12-11T22:37:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"16db0c9b-93af-44e4-bca5-cc749c70240d","html_url":"https://github.com/Vectormike/crispy-train","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/Vectormike%2Fcrispy-train","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectormike%2Fcrispy-train/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectormike%2Fcrispy-train/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectormike%2Fcrispy-train/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vectormike","download_url":"https://codeload.github.com/Vectormike/crispy-train/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978231,"owners_count":20703677,"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":"2024-12-07T09:08:40.898Z","updated_at":"2025-03-28T05:43:14.727Z","avatar_url":"https://github.com/Vectormike.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Pub/Sub\n\nInstall the dependencies:\n\n```bash\nnpm install\n```\n\nSet the environment variables:\n\n## Commands\n\nRunning locally:\n\n```bash\nnpm run dev\n```\n\nRunning in production:\n\n```bash\nnpm start\n```\n\nTesting:\n\n````bash\n# run all tests\nnpm test\n\n# run all tests in watch mode\nnpm test:watch\n\n\nDocker:\n\n# run docker container in development mode\nnpm docker:dev\n\n# run docker compose for redis\ndocker-compose up -d\n\n\n## Environment Variables\n\nThe environment variables can be found and modified in the `.env` file. They come with these default values:\n\n# Port number\nPORT=8000\n\n# URL of the Mongo DB\nMONGODB_URL=mongodb+srv://Vectormike:Redeemer@cluster0.widnr.mongodb.net/test\n\n\n\n\n### API Endpoints\n\nList of available routes:\n\n**Publish routes**:\\\n`POST /v1/publish/:topic` - publish a topic\\\n\n**Subscribe routes**:\\\n`POST /v1/subscribe/:topic` - create and subscribe to a topic\\\n```\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectormike%2Fcrispy-train","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvectormike%2Fcrispy-train","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectormike%2Fcrispy-train/lists"}