{"id":26915905,"url":"https://github.com/dgamer007/microservices","last_synced_at":"2025-04-01T18:40:08.104Z","repository":{"id":195128585,"uuid":"692311017","full_name":"DGamer007/microservices","owner":"DGamer007","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-16T05:31:16.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-16T16:57:47.999Z","etag":null,"topics":[],"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/DGamer007.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}},"created_at":"2023-09-16T05:01:37.000Z","updated_at":"2023-09-16T16:57:49.755Z","dependencies_parsed_at":"2023-09-16T17:09:20.246Z","dependency_job_id":null,"html_url":"https://github.com/DGamer007/microservices","commit_stats":null,"previous_names":["dgamer007/microservices"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGamer007%2Fmicroservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGamer007%2Fmicroservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGamer007%2Fmicroservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DGamer007%2Fmicroservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DGamer007","download_url":"https://codeload.github.com/DGamer007/microservices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246692677,"owners_count":20818724,"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-04-01T18:40:07.717Z","updated_at":"2025-04-01T18:40:08.092Z","avatar_url":"https://github.com/DGamer007.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices Assignment With RabbitMQ Integration\n\n## How to run the Application ?\n\n- Open terminal in Project Directory\n- Run `npm install` to install Project dependencies\n- Setup `.env` file from `.env.sample`\n- Run `npm run start:dev` to start the `GATEWAY` in development Environment\n  OR\n- Run `npm run start` to start the `GATEWAY` service in production Environment\n- #### Start Other Services [*Auth*,*User*,*Post*,*Comment*]\n\n  - Open terminal in Service Directory [*apps/*\u003c*auth* | *user* | *post* | *comment*\u003e]\n  - Run `npm install` to install dependencies\n  - Setup `.env` file from `.env.sample`'\n  - Run `npm run start:dev` to start `SERVICE` in development Environment\n  - Services can run as a standalone Application in Development Environment only...\n    - Provide `MODE=\"RUN_AS_APP\"` in .env file\n  - Run `npm run start` to start `SERVICE` in production Environment\n  - Once a service has been started, it will register itself to the Gateway with\n    - KEY\n    - VERSION\n    - PORT\n  - #### Key and Version of Service can be provided as Command Line Argument while starting the Service\n    - `npm run start -- \u003ckey\u003e \u003cversion\u003e`\n    - `npm run start -- auth v2`\n    - If not provided then Default Key and Version will be assigned from ENV\n\n- After Starting services, Every endpoint of each service can be accessed via Gateway, with `[gateway_url]/[service_key]/[service_version]/[path]`\n\n## All Repository Urls\n\n- [Gateway Github Repo](https://github.com/DGamer007/microservices)\n- [Auth Service Github Repo](https://github.com/DGamer007/microservices-auth-service)\n- [User Service Github Repo](https://github.com/DGamer007/microservices-user-service)\n- [Post Service Github Repo](https://github.com/DGamer007/microservices-post-service)\n- [Comment Service Github Repo](https://github.com/DGamer007/microservices-comment-service)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgamer007%2Fmicroservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgamer007%2Fmicroservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgamer007%2Fmicroservices/lists"}