GithubHelp home page GithubHelp logo

thodl15 / golang-fifa-world-cup-web-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonfriskics/golang-fifa-world-cup-web-service

0.0 0.0 0.0 18 KB

This is the application built on the Project for "Web Services in Go"

Makefile 3.39% Go 95.09% Dockerfile 1.52%

golang-fifa-world-cup-web-service's Introduction

FIFA World Cup Winners

This project exposes a Web API for accessing historic data from the FIFA World Cup championship.

Running tests

A proper Go environment is required in order to run this project. Once setup, tests can be run with the following command:

go test -v ./handlers/

Running the server

Once all tests are passing, the server can be started with the go run server.go command.

Testing the API manually

Start the server with go run server.go and then use the example commands printed to the console to test the program.

Running with Docker

To build the image from the Dockerfile, run:

docker build -t project-fifa-world-cup .

To start an interactive shell, run:

docker run -it --rm --name run-fifa project-fifa-world-cup

From inside the shell, run the tests with:

go test handlers/*

golang-fifa-world-cup-web-service's People

Contributors

caike avatar thodl15 avatar

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.