CalebTracey / rugby-crawler-api

Go API for scraping and storing rugby stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rugby-crawler-api

codecov

Go REST API for scraping rugby stats

Swagger Docs


rugby-models used for common data types

config-yaml used for environment configs and service/db initialization

Basic setup

  1. Create a local Postgres database and update the config.yaml file with the details

  2. Update go.mod and file imports with your repo name

  3. Run the following commands to update dependencies:

    go get -u ./...

    go mod tidy

  4. Make a run configuration as seen below with your repo name:

Run Config

Now you can start the API and access http://localhost:6080/swagger-ui/ for swagger documentation and testing

About

Go API for scraping and storing rugby stats


Languages

Language:Go 91.6%Language:HTML 6.6%Language:JavaScript 1.0%Language:Dockerfile 0.5%Language:CSS 0.4%