{"id":13713231,"url":"https://github.com/dyxj/webapp-example","last_synced_at":"2026-01-16T16:47:33.618Z","repository":{"id":99435480,"uuid":"99367667","full_name":"dyxj/webapp-example","owner":"dyxj","description":"An example of a basic CRUD written with Go and Angular2/4 using MongoDB","archived":false,"fork":false,"pushed_at":"2017-08-10T12:48:31.000Z","size":778,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T23:33:18.594Z","etag":null,"topics":["angular","angular2","angular4","go","golang","mongodb"],"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/dyxj.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-04T17:57:18.000Z","updated_at":"2023-02-07T06:16:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"879daba6-1b99-492e-9453-aa55d0351ffe","html_url":"https://github.com/dyxj/webapp-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyxj%2Fwebapp-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyxj%2Fwebapp-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyxj%2Fwebapp-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyxj%2Fwebapp-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyxj","download_url":"https://codeload.github.com/dyxj/webapp-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252787193,"owners_count":21804214,"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":["angular","angular2","angular4","go","golang","mongodb"],"created_at":"2024-08-02T23:01:30.265Z","updated_at":"2026-01-16T16:47:33.598Z","avatar_url":"https://github.com/dyxj.png","language":"Go","readme":"# webapp-example\nAn example of a basic CRUD web application written with **Go** and **Angular2/4** using **MongoDB**.  \n  \nSaw some questions on building a web application with **Go** and **Angular2/4** but couldn't find an example online, so I wrote one. Written to help people new to **Go**.  \nLooking to get critique. =)  \n\n## Prerequisites ##\n* Go\n* mongodb  \n\n## Documentation ##  \nTo run the web application : \n* Start up mongodb:- mongod\n* go run main.go\n    * connects to default mongodb port\n    * check db/db.go for futher details\n\n**main.go**  \nEntry point of web app. Initializes and run web application (app.go).\n\n**app/app.go**  \nApplication base, has functions required initialize and run web application.\n\n**db/db.go**  \nFunctions for database call.\n\n**apis/api.go**  \nBase for api's, contains general api functions that are meant to be used by other api's.\n\n**apis/item.go**  \nCRUD api's related to *items* and function to specify routes.\n\n**models/items/items.go**  \nMongoDB queries for *items*.\n\n**dist/\\***  \nContains compiled Angular2/4 frontend.  \n\n**AngularItemComponent**  \nContains Angular components and service related to items.\n\n## Web App Image ##\n![Alt text](/webapp-example.png?at=master\u0026fileviewer=file-view-default)\n","funding_links":[],"categories":["Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyxj%2Fwebapp-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyxj%2Fwebapp-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyxj%2Fwebapp-example/lists"}