{"id":24345951,"url":"https://github.com/allajahzan/crud-with-microservices","last_synced_at":"2026-04-11T17:08:36.089Z","repository":{"id":263154812,"uuid":"889527737","full_name":"allajahzan/CRUD-with-Microservices","owner":"allajahzan","description":"It's a CRUD application build with microservices. Node JS, Express JS and Mongodb used for services, and  gRPC, Rabbitmq used for communications.","archived":false,"fork":false,"pushed_at":"2024-11-22T12:00:35.000Z","size":761,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T00:35:30.132Z","etag":null,"topics":["express-ta","grpc","mongodb","nginx","node-js","rabbitmq","react-js","tailwind-css","typescript"],"latest_commit_sha":null,"homepage":"","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/allajahzan.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":"2024-11-16T15:00:31.000Z","updated_at":"2024-11-23T11:32:51.000Z","dependencies_parsed_at":"2024-11-16T16:18:52.884Z","dependency_job_id":"81a6240d-0aa3-4380-89c4-c7935e28ea89","html_url":"https://github.com/allajahzan/CRUD-with-Microservices","commit_stats":null,"previous_names":["allajahzan/crud_using_microservices","allajahzan/crud-with-microservices"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allajahzan%2FCRUD-with-Microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allajahzan%2FCRUD-with-Microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allajahzan%2FCRUD-with-Microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allajahzan%2FCRUD-with-Microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allajahzan","download_url":"https://codeload.github.com/allajahzan/CRUD-with-Microservices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136281,"owners_count":20241988,"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":["express-ta","grpc","mongodb","nginx","node-js","rabbitmq","react-js","tailwind-css","typescript"],"created_at":"2025-01-18T10:28:38.770Z","updated_at":"2026-04-11T17:08:36.051Z","avatar_url":"https://github.com/allajahzan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRUD Application with Microservices\n\nThis is a CRUD application designed with React, TypeScript, Tailwind CSS, and Flowbite, utilizing a Microservices Architecture.\n\n\n## The application is composed of the following services:\n\n- Auth Service: Handles authentication and authorization.\n- User Service: Manages user data and operations.\n- Admin Service: Provides administrative functionalities such as user management.\n- Notification Service: Handles user notifications.\n\n\u003cbr\u003e\n\n## How to Run the Application\n\nYou can run this application either locally or using Docker Compose. Follow the instructions below for each approach:\n\n## A) Running Locally\n\n1. Clone the Repository:\n```bash\ngit clone https://github.com/your-repo-name.git\ncd your-repo-name\n```\n\n2. Change Hostnames in the Nginx config file as host.docker.internal.\n```bash\nserver host.docker.internal:3000; \n```\n```bash\nserver host.docker.internal:3001; \n```\n```bash\nserver host.docker.internal:3002; \n```\n\n3. Start Nginx:\n```bash\ndocker build -t nginx-container ./nginx\ndocker run -d -p 80:80 --name nginx-container nginx-container\n```\n\n4. Change RabbitMq Connection URL (Admin, User, Auth):\n```bash\nconst amqpServer = 'amqp://localhost:5672';\n```\n\n5. Run Each Service Locally:\n```bash\ncd services/service-name\nnpm run dev\n```\n\n6. Access the Application: http://localhost:5173\n\n\u003cbr\u003e\n\n## B) Running with Docker Compose\n\n1. Clone the Repository:\n```bash\ngit clone https://github.com/your-repo-name.git\ncd your-repo-name\n```\n\n2. Change Hostnames in the Nginx config file as host.docker.internal.\n```bash\nserver auth:3000\n```\n```bash\nserver admin:3000\n```\n```bash\nserver user:3000\n```\n\n3. Change RabbitMq Connection URL (Admin, User, Auth):\n```bash\nconst amqpServer = 'amqp://rabbitmq:5672';\n```\n\n4. Start the Application:\n```bash\ndocker-compose up --build\n```\n\n5. Access the Application: http://localhost:5173\n\n\u003cbr\u003e\n\n\u003chr style=\"height: 1px; background-color: black; border: none;\"\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cp\u003eIf you have any questions or need assistance, feel free to open an issue on GitHub.\u003c/p\u003e\n\n\u003cp\u003e🚀 Thank you!\u003c/p\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallajahzan%2Fcrud-with-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallajahzan%2Fcrud-with-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallajahzan%2Fcrud-with-microservices/lists"}