{"id":15484977,"url":"https://github.com/codenoid/go-mongo-web-boilerplate","last_synced_at":"2025-06-30T02:03:50.500Z","repository":{"id":100300581,"uuid":"244133549","full_name":"codenoid/go-mongo-web-boilerplate","owner":"codenoid","description":"Go net/http \u0026 mgo Web Boilerplate","archived":false,"fork":false,"pushed_at":"2020-03-01T13:09:44.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T07:00:46.320Z","etag":null,"topics":["boilerplate","golang","website"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenoid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-03-01T11:04:24.000Z","updated_at":"2022-05-31T02:06:59.000Z","dependencies_parsed_at":"2023-05-13T14:15:34.898Z","dependency_job_id":null,"html_url":"https://github.com/codenoid/go-mongo-web-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codenoid/go-mongo-web-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fgo-mongo-web-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fgo-mongo-web-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fgo-mongo-web-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fgo-mongo-web-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenoid","download_url":"https://codeload.github.com/codenoid/go-mongo-web-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fgo-mongo-web-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697251,"owners_count":23349890,"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":["boilerplate","golang","website"],"created_at":"2024-10-02T06:00:50.506Z","updated_at":"2025-06-30T02:03:50.480Z","avatar_url":"https://github.com/codenoid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang Mongo Web Boilerplate \n[![Go Report Card](https://goreportcard.com/badge/github.com/codenoid/go-mongo-web-boilerplate)](https://goreportcard.com/report/github.com/codenoid/go-mongo-web-boilerplate)\n\nWORK IN PROGRESS\n\n## Installation\n\n1. makesure your mongodb are running in 127.0.0.1:27017 without password, if you don't have mongo, you can install it [here](https://docs.mongodb.com/manual/administration/install-community/)\n2. or you can set it up [here](https://github.com/codenoid/go-mongo-web-boilerplate/blob/644dc7a0b73e19ace25017495bc1293774155ef4/routes.go#L12)\n3. run this command\n\n```bash\ngit clone https://github.com/codenoid/go-mongo-web-boilerplate.git\ncd go-mongo-web-boilerplate\ngo build\n./gmwb\n// open localhost:6969\n```\n\n## Usage\n\n1. access [http://localhost:6969/setup](http://localhost:6969/setup) to save user data (for test purpose)\n2. you will redirected to `/login` the username and password is `admin`\n3. once success, you will redirected to `/`\n\n## Project Structures\n\n```bash\n.\n├── controllers\n│   ├── auth.go\n│   ├── connector.go\n│   └── home.go\n├── go.mod\n├── helpers\n│   └── hash.go\n├── main.go\n├── routes.go\n└── structs\n    └── user.go\n```\n\n## Features \u0026 TODO\n\n- [x] Basic Project Structure\n- [x] Shared Single Mongo Connection\n- [x] Login/Logout page\n- [ ] Redis use for session\n- [ ] HTML Views\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoid%2Fgo-mongo-web-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenoid%2Fgo-mongo-web-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoid%2Fgo-mongo-web-boilerplate/lists"}