📰 Good News app. Backend in Golang. Project creation, Go Modules & GIN integration.

Let’s create simple Golang project, configure Go Modules and integrate GIN framework.

  1. 📰 Good News app. Backend in Golang behind Traefik reverse proxy with https available.
  2. [in progress] 📰 Good News app. Flutter for rapid mobile applications development.
  3. [in progress] 📰 Good News app. Hummingbird as a promising replacement for frontend frameworks.
  1. Prerequisites & Idea, project and database structure and API endpoints.
  2. Project creation, go modules & GIN (beautiful framework) integration.
  3. Colly usage.
  4. MongoDB setup using official Golang driver.
  5. Running all together locally with Docker and Docker Compose & Traefik v2.0 configuration.
  6. Publishing to Digital Ocean, Let’s Encrypt and DNS Challenge configuration.

Project creation

GIN (beautiful framework) integration

  • News — localhost:6969/v1/news
  • News sources — localhost:6969/v1/news/sources
  • News types — localhost:6969/v1/news/types
  • images/secret_mag.png — localhost:6969/images/secret_mag.png
  • images/the_village.png — localhost:6969/images/the_village.png
  • images/theory_and_practice.png — localhost:6969/images/theory_and_practice.png

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store