{"id":22083604,"url":"https://github.com/dockerbound-immortal/mern-nginx","last_synced_at":"2026-04-11T13:10:51.163Z","repository":{"id":202140655,"uuid":"352135795","full_name":"Dockerbound-Immortal/MERN-Nginx","owner":"Dockerbound-Immortal","description":"Docker MERN stack React, MongoDB, Mongo-Express, Node, \u0026 Nginx Gateway.","archived":false,"fork":false,"pushed_at":"2021-03-28T11:01:22.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T21:31:16.928Z","etag":null,"topics":["docker-containers","mongo-express","mongodb","nginx","nodejs","reactjs"],"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/Dockerbound-Immortal.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":"2021-03-27T17:33:40.000Z","updated_at":"2021-03-28T11:01:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3474cfe-43e6-4b65-af78-47b6e9646def","html_url":"https://github.com/Dockerbound-Immortal/MERN-Nginx","commit_stats":null,"previous_names":["dockerbound-immortal/mern-nginx"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Dockerbound-Immortal/MERN-Nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FMERN-Nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FMERN-Nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FMERN-Nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FMERN-Nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dockerbound-Immortal","download_url":"https://codeload.github.com/Dockerbound-Immortal/MERN-Nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dockerbound-Immortal%2FMERN-Nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31681564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-containers","mongo-express","mongodb","nginx","nodejs","reactjs"],"created_at":"2024-12-01T00:16:26.101Z","updated_at":"2026-04-11T13:10:51.106Z","avatar_url":"https://github.com/Dockerbound-Immortal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Stack\n\nA basic MERN stack, there is another version of this in which Nginx is used a as a gateway to the application allowing for faster static file transfers, and more secure communication between the client and API.\n\nThis can be restructured into microservices. \n\n## Nginx\n\nThis container works differently to my other compose projects.\nOnly a single point of entry is exposed on port: \u003ccode\u003e:8080\u003c/code\u003e. From this nginx acts as a gateway to handle routing to either the \u003ccode\u003eclient\u003c/code\u003e or the \u003ccode\u003eapi\u003c/code\u003e\n\nClient Routes:\n - [localhost:8080/](http://localhost:8080/)\n\nAPI Routes:\n - [localhost:8080/api/](http://localhost:8080/api/)\n\nMongo Express: \n - [localhost:8081/](http://localhost:8081)\n\nTo get started, make sure you have [Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository.\n\nNext, navigate in your terminal to the directory you cloned this, and spin up the containers for the web server by running `docker-compose up -d --build`.\n\n- **react** - `:3000`\n- **mongodb** - `:27017`\n- **mongo-express** - `:8081`\n- **node** - `:3000`\n- **nginx** - `:8080`\n\n## Persistent Mongo Storage\n\nPersistent storage is handled by a docker volume, this ensures that when you take down and spin up containers your data is not lost. \n\n## Networked\n\nEverything in this docker setup is networked to ensure it can only communicate with each other. This makes this project akin to a single service built with a separate client and api. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerbound-immortal%2Fmern-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdockerbound-immortal%2Fmern-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerbound-immortal%2Fmern-nginx/lists"}