news-demo

command module
v0.0.0-...-d28e341 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 11 Imported by: 0

README

News Application Demo

Learn how to develop web applications with Go by building a News application.

Here's what the completed application looks like:

demo

The code in this repo is meant to be a reference point for anyone following along with the tutorial.

Prerequisites

  • You need to have Go installed on your computer. The version used to test the code in this repository is 1.15.3.

  • Sign up for a News API account and get your free API key.

Get started

  • Clone this repository to your filesystem.
$ git clone https://github.com/Freshman-tech/news-demo
  • Rename the .env.example file to .env and enter your News API Key.
  • cd into it and run the following command: go build && ./news-demo to start the server on port 3000.
  • Visit http://localhost:3000 in your browser.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL