{"id":16996812,"url":"https://github.com/thepatrickniyo/nginx-micro-services","last_synced_at":"2025-04-12T05:41:58.273Z","repository":{"id":107055069,"uuid":"522513081","full_name":"thepatrickniyo/nginx-micro-services","owner":"thepatrickniyo","description":"Building A micro-service of Springboot, Node, js React services to be shipped with Docker container","archived":false,"fork":false,"pushed_at":"2024-01-26T23:53:36.000Z","size":311,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T05:09:53.450Z","etag":null,"topics":["docker-compose","java","nginx","nodejs","react","spring-boot"],"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/thepatrickniyo.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}},"created_at":"2022-08-08T11:02:53.000Z","updated_at":"2023-12-29T14:57:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a70424b6-de6e-4e67-8934-1c5c96fa3f5d","html_url":"https://github.com/thepatrickniyo/nginx-micro-services","commit_stats":null,"previous_names":["patrickniyogitare28/nginx-micro-services","thepatrickniyo/nginx-micro-services"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnginx-micro-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnginx-micro-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnginx-micro-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnginx-micro-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepatrickniyo","download_url":"https://codeload.github.com/thepatrickniyo/nginx-micro-services/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525162,"owners_count":21118616,"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":["docker-compose","java","nginx","nodejs","react","spring-boot"],"created_at":"2024-10-14T03:52:40.943Z","updated_at":"2025-04-12T05:41:58.239Z","avatar_url":"https://github.com/thepatrickniyo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# the-micro-services-challenge\nBuilding A micro-service of Springboot, Node, js React services to be shipped with Docker container\n\n## Service\n\nThe challenge implements 3 services that work together to process and request and serve an appropriate response.\n\n## Authentication Service\n\nThis is the service built with Java Springboot with mavin as a dependency manager. And it's responsible to create user acccounts and keep track of them,  a basic authentication.\nIt saves the accounts in a hash map. That means the data are persisted while the container is or the service is up.\n\nIn docker or on the host machine this service is running on 8080\n\n\nThe service is started like any other java springboot is run.\n\n## Authorization Service\n\nThis is the service serving as a middleware between the client or frontend service and the authentication service. That means it receives the data access requests\nand first talk to the authentication service to find the user authority .\n\nIt also assigns encrypted jwt tokens to authenticated users.\nIt also serves the medical data from an **xlsx** file according to the user role.\n\nThe service parses the **xlsx** data file and be able to extract sheets that are served to client on a request.\n\nRunning on a host in development\n\n```sh\n$ yarn start:dev\n# npm start:dev\n```\n\nRunning on the host in production\n\n```sh\n$ yarn start\n# npm run start\n```\n\n## Fronted Service\n\nThis service provides a user interface that allows users to create accounts and be able to request medical data.\n\nRunning the service \n\n```sh\n$ yarn dev\n# npm run dev\n```\n\n## Containerization\n\nThough these services can run on a host machine, but they can also run in docker containers and be able to still communicate using **docker-compose**\n\nRunning the image.\n\n```sh\n$ docker-compose up\n```\n\n## Author\npatrickniyogitare28@gmail.ccom\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepatrickniyo%2Fnginx-micro-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepatrickniyo%2Fnginx-micro-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepatrickniyo%2Fnginx-micro-services/lists"}