{"id":15043859,"url":"https://github.com/stanislav-web/ecs-auth-microservice","last_synced_at":"2025-04-14T23:12:35.831Z","repository":{"id":57149308,"uuid":"105955067","full_name":"stanislav-web/ecs-auth-microservice","owner":"stanislav-web","description":"Auth microserivice Docker: Nginx -\u003e Node -\u003e Mongo","archived":false,"fork":false,"pushed_at":"2017-10-19T14:15:05.000Z","size":770,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:12:23.119Z","etag":null,"topics":["authentication","microservice","mongodb","nginx","nodejs"],"latest_commit_sha":null,"homepage":"https://github.com/stanislav-web/ecs-auth-microservice","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stanislav-web.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-06T00:52:28.000Z","updated_at":"2022-04-11T21:29:14.000Z","dependencies_parsed_at":"2022-09-06T05:51:11.801Z","dependency_job_id":null,"html_url":"https://github.com/stanislav-web/ecs-auth-microservice","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanislav-web%2Fecs-auth-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanislav-web%2Fecs-auth-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanislav-web%2Fecs-auth-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stanislav-web%2Fecs-auth-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stanislav-web","download_url":"https://codeload.github.com/stanislav-web/ecs-auth-microservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975328,"owners_count":21192210,"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":["authentication","microservice","mongodb","nginx","nodejs"],"created_at":"2024-09-24T20:49:43.152Z","updated_at":"2025-04-14T23:12:35.812Z","avatar_url":"https://github.com/stanislav-web.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ECS-AUTH-MICROSERVISE\n_(Nginx as foreground, NodeJs as a primary server, MongoDb or Radis for the accounts store)_\n\n\n|  Assembly | Status |\n|:-:|:-:|\n|Node \u0026 Mongo|[![Build Status](https://travis-ci.org/stanislav-web/ecs-auth-microservice.svg?branch=master)](https://travis-ci.org/stanislav-web/ecs-auth-microservice/builds/286316998) | \n|Node \u0026 Redis|[![Build Status](https://travis-ci.org/stanislav-web/ecs-auth-microservice.svg?branch=master)](https://travis-ci.org/stanislav-web/ecs-auth-microservice/builds/286316998) |\n\n [![Coverage Status](https://coveralls.io/repos/github/stanislav-web/ecs-auth-microservice/badge.svg?branch=master)](https://coveralls.io/github/stanislav-web/ecs-auth-microservice?branch=master) [![GitHub license](https://img.shields.io/badge/license-AGPL-blue.svg)](https://raw.githubusercontent.com/stanislav-web/ecs-auth-microservice/master/LICENSE)\n\nThis assemblage implements REST auth micoservice proxied by Nginx as Reverse Proxy Server.\nRepresents high scalable architecture for \"NodeJS\" applications in the form of boundles inside.\n\n![Nginx](https://images.sftcdn.net/images/t_optimized,f_auto/p/6dd52663-2bbf-48e0-a7cc-cdb043b326ef/1544311950/nginx-logo.png) \u0026rightarrow;\n![NodeJS](http://bogdanov-blog.ru/wp-content/themes/blogus/img/types/nodejs.png) \u0026rightarrow;\n![MongoDb](https://download.asperasoft.com/download/docs/orchestrator/2.6.1/user_win/webhelp/images/plugin_MongodbOperation.png) \u0026rightarrow;\n![Redis](https://www.onlinedeliverysoftware.com/wp-content/themes/onlinedeliverysoftware/img/tools-tech/redis.png)\n\n##### IMPLEMENTS\n - Boundles API\n - Koa2\n - MongoDb native\n - Redis native\n - Password encryption\n - JWT authentication\n \n##### DEFAULT INSTALL (USE MongoDB)\n```bash\ndocker-compose up --build\n```\n\n```bash\nsh build/mongo.sh # install with MongoDb (default)\nsh build/redis.sh # install with Redis\n```\n\n##### CONFIGURATION\n```bash\n.env\n```\n\n##### RUN\n```bash\nhttp://localhost:88 # (Nginx 88 =\u003e NodeJs 8777)\n```\n\n##### RUN AS NODE SERVER\n```bash\n# STORAGE=redis\nnpm start \n\n```\n\n##### CHECK MICROSERVICE STATUS\n`http://localhost:88/status/:key` (see .env)\n\n```python\nHTTP/1.1 200 OK\n{\n     \"status\": 200,\n     \"message\": {\n         \"now\":\"01:52:51 GMT+0300 (EEST)\",\n         \"revision\":\"62b1b88ef48bb3fe859b2bd374e64576f79e6cca\",\n         \"version\":\"v1.1.2\",\n         \"residentSet\":\"49.8 MB\",\n         \"totalHeap\":\"30.4 MB\",\n         \"usedHeap\":\"16.8 MB\",\n         \"uptime\":22.969\n     }\n }\n```\n![Token](https://uploads.toptal.io/blog/image/958/toptal-blog-image-1426676428399.jpeg)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanislav-web%2Fecs-auth-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstanislav-web%2Fecs-auth-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstanislav-web%2Fecs-auth-microservice/lists"}