{"id":27881611,"url":"https://github.com/soelz4/user-management-system-mongo-crud-api","last_synced_at":"2025-07-26T21:07:42.211Z","repository":{"id":243481758,"uuid":"812556847","full_name":"soelz4/user-management-system-mongo-crud-api","owner":"soelz4","description":"User Management System 👤 (CRUD API) with NoSQL DataBase (MongoDB) 🌱","archived":false,"fork":false,"pushed_at":"2024-06-10T07:56:10.000Z","size":8635,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T05:03:00.678Z","etag":null,"topics":["database","golang","gorilla-mux","http-server","mongodb","nosql","server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/soelz4.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,"zenodo":null}},"created_at":"2024-06-09T08:32:06.000Z","updated_at":"2024-06-18T05:38:13.000Z","dependencies_parsed_at":"2024-06-09T09:43:15.884Z","dependency_job_id":"80fd6fb8-407d-4b2f-a785-f221dd53d9d1","html_url":"https://github.com/soelz4/user-management-system-mongo-crud-api","commit_stats":null,"previous_names":["soelz4/user-management-system-mongo-crud-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soelz4/user-management-system-mongo-crud-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelz4%2Fuser-management-system-mongo-crud-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelz4%2Fuser-management-system-mongo-crud-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelz4%2Fuser-management-system-mongo-crud-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelz4%2Fuser-management-system-mongo-crud-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soelz4","download_url":"https://codeload.github.com/soelz4/user-management-system-mongo-crud-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soelz4%2Fuser-management-system-mongo-crud-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267236378,"owners_count":24057654,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["database","golang","gorilla-mux","http-server","mongodb","nosql","server"],"created_at":"2025-05-05T05:02:59.484Z","updated_at":"2025-07-26T21:07:42.144Z","avatar_url":"https://github.com/soelz4.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# user-management-system-mongo-crud-api\n\n⚠️ **NOTE!!!!!** This Goalng App Written for Me - So some Things Might not Work on Your PC or Laptop as this was Never Intended to be a Usable Full Fledged Application, in that Case, Please Try if You Can Fix that Up as Much as Possible, or you can Open an Issue for Help :) - You Need to Change Something Related to Database (in Makefile, docker-compose.yml and ...) - So Please Check Everything Before Running the Database and Server.\n\n\u003cimg src=\"diagram0.jpg\" width=\"850px\"\u003e\n\u003cimg src=\"diagram1.jpg\" width=\"850px\"\u003e\n\n## Requirements\n\n- make\n- [MongoDB](https://www.mongodb.com/)\n- [MongoDB Docker Image](https://hub.docker.com/r/mongodb/mongodb-community-server)\n- Create a Docker Network to Connect Golang Server Container and MongoDB Container with Each other\n\n## Makefile\n\nA Standard GNU Make File is Provided to Help with Running and Building Locally.\n\n```text\nhelp                 💬 This Help Message\nlint                 🔎 Lint \u0026 Format, will not Fix but Sets Exit Code on Error\nlint-fix             📜 Lint \u0026 Format, will Try to Fix Errors and Modify Code\nbuild                🔨 Build Binary File\nrun                  \u003e_ Run the Web Server Locally at PORT 9010\ninit                 📥 Download Dependencies From go.mod File\nclean                🧹 Clean up Project\nmongodb              🌱 Pull MongoDB Docker Image from Docker Hub Registry\ndocker-network       🪡 Create Docker Network\nimage                📦 Build Docker Container Image from Dockerfile\npush                 📤 Push Container Image to Registry\ncompose-up           🧷 Create and Start Containers\ncompose-down         🧼 Stop and Remove Containers, Networks\n```\n\nMakefile Variables\n\n| Makefile Variable | Default                                            |\n| ----------------- | -------------------------------------------------- |\n| SRC_DIR           | ./src/                                             |\n| DEFAULT_GOAL      | help                                               |\n| BINARY_NAME       | main                                               |\n| BINARY_DIR        | ./bin/                                             |\n| IMAGE_REPO        | soelz/golang-user-management-system-mongo-crud-api |\n| IMAGE_TAG         | 0.1                                                |\n| MongoDB_IMAGE     | mongodb/mongodb-community-server:latest            |\n\n## DataBase (NoSQL MongoDB)\n\nMongoDB Go Driver Configurations ([The Official Golang driver for MongoDB](https://github.com/mongodb/mongo-go-driver)) Available in [./src/pkg/config/app.go](src/pkg/config/app.go).\n\n## Containers\n\nRUN Server in a Container\n\n```bash\ndocker run --name mongodb --network backend -p 27017:27017 -d mongodb/mongodb-community-server:latest\n```\n\n```bash\ndocker run --name gumsmca --network backend -p 9010:9010 soelz/golang-user-management-system-mongo-crud-api:0.1\n```\n\nOR\n\nJust Execute this Command ~\u003e\n\n```bash\nmake compose-up\n```\n\n\u003cbr\u003e![cat](https://github-production-user-asset-6210df.s3.amazonaws.com/62666332/253642655-0438a9e1-d47d-4570-873c-5ddd59f46e9e.svg)\u003c/br\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoelz4%2Fuser-management-system-mongo-crud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoelz4%2Fuser-management-system-mongo-crud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoelz4%2Fuser-management-system-mongo-crud-api/lists"}