Skip to content

Vano2903/peggle-data-collector

Repository files navigation

PEGGLE DATA COLLECTOR


Table of Contents
  1. What is this project
  2. Built With
  3. Prerequisites
  4. Set Up

What is this project

peggle data collector is a summer homework, the main goal is to store the most ammount of games of peggle recorded by QDSS 2 and show the respective data with google charts. The games are stored in a atlas cluster (mongo db) and using golang to create a api and webserver that show and let people query those games freely. (It was a project I already wanted to create, the summer homework was more like a excuse to me).

You can find the webpage hosted here: peggle-data-collector.herokuapp.com.


Built With


Prerequisites

go >= 1.16

Set Up

To install all modules required to make the webserver work first you need to clone the repo

git clone https://github.com/Vano2903/peggle-data-collector

cd into the directory created

cd peggle-data-collector

install all modules in go mod

go mod download

⚠️ it wont work if you dont have the proper config.yaml: only I (the creator) have the correct file, the config contains the youtube api key and the uri for the atlas cluster

TODO / v2.0


things i wanna implement for version 2.0:

  • hash all the stored passwords
  • add jwt for user authentication
  • add OAuth2.0 (github OAuth seems the best option so far)
  • add full search algorithm (mongob atlas offer that but means migrate to atlas)
  • let user query a date like 2021-2-4 and convert it to 2021-02-04
  • check if a structure has default values (means not modified)

todo for this version:

  • colors on buttons in add-game
  • user section
  • stats database
  • add function that let user clean just a section of the game adding function and not only everything
  • section to add a comment while inserting a game
  • dont create a button in commit area if there are none
  • users section
  • working search box
  • public page dedicated to collaborators
  • main page
    • home with game's cards, navbar and search box
    • individual game page with all the stats of the game
    • players stats (use stats databaes) (scatter graph, bar graph, pie graph)
    • api documentation area
    • support area (my paypal or buymeacoffe)

About

a webapp with all the data of qdss's peggle games

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published