https://github.com/jdetok/go-api-jdeko.me
source code for my personal website. api written in go interacts with mariadb database to return nba/wnba stats. frontend written in plain Javascript/HTML/CSS
https://github.com/jdetok/go-api-jdeko.me
docker go mariadb nba-stats personal-website sports-data wnba-stats
Last synced: 2 months ago
JSON representation
source code for my personal website. api written in go interacts with mariadb database to return nba/wnba stats. frontend written in plain Javascript/HTML/CSS
- Host: GitHub
- URL: https://github.com/jdetok/go-api-jdeko.me
- Owner: jdetok
- Created: 2025-06-06T19:40:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-08-06T04:17:24.000Z (2 months ago)
- Last Synced: 2025-08-06T06:15:33.816Z (2 months ago)
- Topics: docker, go, mariadb, nba-stats, personal-website, sports-data, wnba-stats
- Language: Go
- Homepage: https://jdeko.me
- Size: 268 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# full stack repo for my personal website
## main site: https://jdeko.me

## NBA/WNBA stats site: https://jdeko.me/bball

### written & maintained by Justin DeKock (jdeko17@gmail.com)# API (Go)
http requests to jdeko.me are handled by the API I wrote primarily with Go's standard library. jdeko.me/bball is served by a Mariadb database I built to store NBA/WNBA statistcs.# Frontend
the site's frontend is written using only pure HTML/CSS/Javascript. all static files are served from /static by the handlers in /api/static.go. /static/bball are the current production files that serve jdeko.me/bball# Environment
every process that serves jdeko.me is containerized with docker. the entire environment is configured in a docker compose file. the compose file for this repo also builds and runs an apache web server for proxying. the mariadb server is in a separate compose, as I use it for other projects. there's an additional docker compose that runs my python script for fetching NBA/WNBA data and inserting it into the databae.# Database (Mariadb Server)
the nba/wnba data returned by the API is stored in a mariadb database running in a docker container. the data is inserted/updated nightly from a python project i wrote. the project utilizes the nba_api python package, which calls stats/nba.com. the python source code is also containerized - it runs via a shell script i wrote to build, compsoe up, run, & compose down. this project's repo can be seen here: https://github.com/jdetok/py-nba-mdb