📰 Good News app. Backend in Golang behind Traefik reverse proxy with HTTPS available.

Prerequisites & Idea, project and database structure and API endpoints.

Prerequisites

Idea, project and database structure and API endpoints

/good-news-backend
/controllers - where our controller(s) will be located
/crawler - files for sites parsing
/db - db access and manipulating files
/images - static images
/models - files for describing our models
/server - server configuration files
/utils - some utils files
main.go - starting point for the project
+ some other files which we are going to create during development
[    {        _id: <string>,        title: <string>,        preamble: <string>,        time_added: <int64>,        link: <string>,        news_type: <NewsType>,        news_source: <NewsSource>    },    ...]
[    {        _id: <string>,        name: <string>,        image_url: <string>,        types: <array of NewsType>    },    ...]
[    {        _id: <string>,        name: <string>,        type: <string>    },    ...]

IT Entrepreneur. Open Source Staff. MS in CS. https://batyr.io