Skip to content

Commit

Permalink
Conversion to SQLite from JSON (#1)
Browse files Browse the repository at this point in the history
* started sqlite conversion

* i forgot what i did

* redid top artists query

* some query updates & working on better typing

* fixed new user root page (except the graphs)

* graphs fixed on user_root page

* fixed overall_month

* part of the artist_month done

* fixed artist_month page

* fixed overall month

* removed generate report function

* remove unused imports

* fixed artist urls on user root page

* remove song.py and some unused functions in db.py

* removed more unused functions/imports

* removed song.py for real this time

* made the app 'prod' ready, and did some more housekeeping

* removed scripts/compose

* gitignore update

* added jill favicon

* removed unused files

* a

* some refactoring of page pathes + update to the monthly overview

* refactoring + fixing links on overall page

* fixed error in utils

* a lot of link fixing

* graph stylizing

* more graph styling

* trying to get rid of the utils.py file

* got rid of the utils file

Major Changes:
 - Rather than processing a JSON the website host now uses SQL queries on an SQLite database to do most of the heavy lifting.
 - Most of the website has gone through changes I honestly don't remember. Probably all changes for the better

---------

Co-authored-by: 0x01FE <[email protected]>
  • Loading branch information
0x01FE and 0x01FE authored Oct 18, 2023
1 parent 7a3fc78 commit 45ee639
Show file tree
Hide file tree
Showing 21 changed files with 622 additions and 388 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ reports/*
.vscode
jackson/*
*.png
*.yml
*.sh

16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# syntax=docker/dockerfile:1

FROM python:3.11.4-slim-bookworm

WORKDIR .

RUN apt-get update && apt-get upgrade -y

COPY requirements.txt requirements.txt

RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install -r requirements.txt

COPY . .

CMD [ "python3", "-u", "app.py" ]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# About

This is a front end web display for [this](https://github.com/0x01FE/spotify-artist-time-tracking) other project of mine.




Loading

0 comments on commit 45ee639

Please sign in to comment.