{"id":18293876,"url":"https://github.com/tutorialedge/go-rest-api-course","last_synced_at":"2025-10-14T21:07:24.348Z","repository":{"id":48631664,"uuid":"336509745","full_name":"TutorialEdge/go-rest-api-course","owner":"TutorialEdge","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-04T19:10:11.000Z","size":573,"stargazers_count":73,"open_issues_count":0,"forks_count":19,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-29T12:40:49.596Z","etag":null,"topics":[],"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/TutorialEdge.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}},"created_at":"2021-02-06T10:19:28.000Z","updated_at":"2025-06-20T04:12:21.000Z","dependencies_parsed_at":"2023-01-23T06:30:12.036Z","dependency_job_id":null,"html_url":"https://github.com/TutorialEdge/go-rest-api-course","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TutorialEdge/go-rest-api-course","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fgo-rest-api-course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fgo-rest-api-course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fgo-rest-api-course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fgo-rest-api-course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TutorialEdge","download_url":"https://codeload.github.com/TutorialEdge/go-rest-api-course/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fgo-rest-api-course/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021333,"owners_count":26087018,"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-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-11-05T14:26:29.584Z","updated_at":"2025-10-14T21:07:24.313Z","avatar_url":"https://github.com/TutorialEdge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Building a Production Ready REST API in Go Course Repository](https://images.tutorialedge.net/thumbnails/production-ready-rest-api-in-go.png)\n\n# Building a Production Ready REST API in Go - Course Materials\n\nThis repo contains all of the source code for my course - [Building a Production Ready REST API in Go](https://tutorialedge.net/courses/go-rest-api-course/).\n\n\u003e Join the TutorialEdge clan for the cost of $12.99 a month to gain access to all of the courses on the site - [Pricing](https://tutorialedge.net/pricing)\n\n## Application Overview\n\nI've designed the code in this course to follow clean architecture principles.\n\nWe'll be building a layered app with 3 distinct layers:\n\n* **The Transport Layer** - responsible for handling incoming HTTP requests and passing them on to the relevant service functions.\n* **The Service Layer** - responsible for all the business logic in your application.\n* **The Repository Layer** - responsible for all the interactions with the database!\n\nThis ends up looking something like this:\n\n![Architecture Overview](docs/architecture-diagram.png)\n\n## Technologies Used:\n\n* **Postgres**\n* **Docker + Docker-Compose**\n* **Go** (This one was fairly obvious no?)\n* **Postman** - for testing our service manually with HTTP request.\n\n## Frameworks + Libraries Used\n\n* **sqlx** - for simplifying our interactions with the database\n* **golang-migrate** - for running our migrations on app startup\n* **dgrijalva/jwt-go** - for working with JWTs in our transport layer.\n* **satori/go.uuid** - for generating and working with UUIDs.\n* **sirupsen/logrus** - nicer logging.\n* **stretchr/testify** - For easier testing!\n\n## Prerequisites\n\nThis course is designed to help teach you one approach for building and structuring a production-ready REST API in Go. It's designed for people with some Go already, I wont be covering the basic syntax for Go, but mostly focused on higher-level topics.\n\n## Support \n\nHave any support issues or follow-up questions? Join us on the TutorialEdge Clan discord and get real-time support for all of your Go needs!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialedge%2Fgo-rest-api-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutorialedge%2Fgo-rest-api-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialedge%2Fgo-rest-api-course/lists"}