{"id":28069570,"url":"https://github.com/nafisfaysal/goapi","last_synced_at":"2026-05-05T04:03:40.659Z","repository":{"id":98167147,"uuid":"172703158","full_name":"nafisfaysal/goapi","owner":"nafisfaysal","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-19T05:43:57.000Z","size":11973,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T19:09:41.054Z","etag":null,"topics":["docker","docker-compose","docker-image","dockerfile","go","golang","golang-application","golang-examples","golang-library","golang-module","golang-router","golang-server","golang-tools","google"],"latest_commit_sha":null,"homepage":null,"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/nafisfaysal.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}},"created_at":"2019-02-26T11:59:49.000Z","updated_at":"2020-06-19T05:43:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d1a202f-4a47-4f64-80c3-ac51b69ceb46","html_url":"https://github.com/nafisfaysal/goapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nafisfaysal/goapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafisfaysal%2Fgoapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafisfaysal%2Fgoapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafisfaysal%2Fgoapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafisfaysal%2Fgoapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nafisfaysal","download_url":"https://codeload.github.com/nafisfaysal/goapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nafisfaysal%2Fgoapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275151344,"owners_count":25414441,"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-09-14T02:00:10.474Z","response_time":75,"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":["docker","docker-compose","docker-image","dockerfile","go","golang","golang-application","golang-examples","golang-library","golang-module","golang-router","golang-server","golang-tools","google"],"created_at":"2025-05-12T19:09:29.354Z","updated_at":"2026-05-05T04:03:35.623Z","avatar_url":"https://github.com/nafisfaysal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoAPI\n\nI challenge myself to build a web application without using any Go framework. I used Gorilla toolkit and GORM to build this application follow up with the MVC Framework pattern.\n\n## To run the project\nCreate `.env` and run `docker-compose up`\n\n## Dependencies\n* go 1.13\n* PostgreSQL : As data storage\n* Docker\n* Docker Compose\n\n## ENV\n\n```\nPOSTGRES_URL=postgres://postgres:yourpassword@postgres/postgres?sslmode=disable`\n\nPORT=8080\n```\n\n## Run complete system\n\n```\ndocker-compose up -d\n```\n\n\n## Endpoints\n\n\t\tName(\"HomePage\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/\").\n    \n\t\tName(\"ServeSignupForm\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/register\").\n\t\n\t\tName(\"RegisterAccount\").\n\t\tMethods(\"POST\").\n\t\tPath(\"/register\").\n\t\n\t\tName(\"ServeLoginForm\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/login\").\n\n\t\tName(\"Login\").\n\t\tMethods(\"POST\").\n\t\tPath(\"/login\").\n\n\t\tName(\"Logout\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/logout\").\n\t\t\n\t\tName(\"ServePhoneBookList\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/phonebooks\").\n\t\n\t\tName(\"ServeNewPhoneBookForm\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/phonebooks/new\").\n\n\t\tName(\"CreatePhoneBook\").\n\t\tMethods(\"POST\").\n\t\tPath(\"/phonebooks/new\").\n\n\t\tName(\"ServeUpdatePhoneBookForm\").\n\t\tMethods(\"GET\").\n\t\tPath(\"/phonebooks/{id:[0-9]+}/edit\").\n\n\t\tName(\"UpdatePhoneBook\").\n\t\tMethods(\"POST\").\n\t\tPath(\"/phonebooks/{id:[0-9]+}/edit\").\n\n\t\tName(\"DeletePhoneBook\").\n\t\tMethods(\"POST\").\n\t\tPath(\"/phonebooks/{id:[0-9]+}/delete\").\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisfaysal%2Fgoapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnafisfaysal%2Fgoapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnafisfaysal%2Fgoapi/lists"}