Git Product home page Git Product logo

go_news_app_demo's Introduction

Go_News_App

A News Aggregator made with Go

Build and deploy a complete web service in Go's standard library.

  • Crwate a basic web server
  • Use Go tamplating
  • Create search routing
  • Create and make requests to the News API server
  • Render and format the results
  • Deploy to the web (using Heroku)

Using NewsAPI.org's JSON API integration to colect data, fetch news articles matching a user search query and present the results on the page. News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.

Input a search term and News API will scan thousands of news websites and organsie the information of the latest articles.

You can search for articles with any combination of the following criteria:

  • Keyword or phrase. Eg: find all articles containing the word 'Microsoft'.
  • Date published. Eg: find all articles published yesterday.
  • Source name. Eg: find all articles by 'TechCrunch'.
  • Source domain name. Eg: find all articles published on thenextweb.com.
  • Language. Eg: find all articles written in English.

When building the app locally you will requires a .env file to be created in the root with the following info:

PORT=

NEWS_API_KEY=

Technology Stack:

  • HTML
  • CSS
  • Javascript
  • Golang

.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.