Skip to content

Commit

Permalink
Stats by year (#112)
Browse files Browse the repository at this point in the history
* Create page.tsx

* feat(stats): more styling

* Update page.tsx

* feat(stats): more styling

* feat(stats): add graph

* wip

* feat(stats): wip

* feat(stats): wip

* feat(stats): wip

* feat(stats): tweaks

* feat(stats): wip

* Update MostWatchedProviders.tsx

* feat(stats): world map

* feat(stats): world map

* feat(stats): list and grid

* feat(stats): cleanup

* feat(stats): make stuff for real yo

* feat(stats): watched per week FOR REALIO

* feat(stats): cleanup

* feat(stats): genres with real data!

* Update MostWatchedGenresContainer.tsx

* feat(stats): streaming services with real data

* feat(stats): world map

* feat(stats): world map tweaks

* feat(stats): more data

* feat(stats): use date-fns

* feat(stats): last bits

* Delete getWeekNumberFromDate.ts

* Update index.ts

* fix: watch providers

* fix: watch providers prio

* Update index.ts

* fix: watch providers prio
  • Loading branch information
koenoe authored Dec 24, 2024
1 parent 66714e5 commit a2f1e1c
Show file tree
Hide file tree
Showing 49 changed files with 3,148 additions and 108 deletions.
3 changes: 0 additions & 3 deletions infra/dynamo/watched.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ export const watched = new sst.aws.Dynamo('Watched', {
gsi2pk: 'string', // USER#<userId>#WATCHED
gsi2sk: 'number', // watched_at

// country: 'string', // iso_3166_1
// episodeNumber: 'number',
// genreIds: 'string', // comma-separated
// language: 'string', // iso_639_1
// posterImage: 'string', // deprecated
// posterPath: 'string',
// runtime: 'number',
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
"@aws-sdk/util-dynamodb": "^3.716.0",
"class-variance-authority": "^0.7.1",
"color": "^4.2.3",
"date-fns": "^4.1.0",
"framer-motion": "11.15.0",
"next": "15.1.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"recharts": "^2.15.0",
"server-only": "^0.0.1",
"slugify": "^1.6.6",
"ulid": "^2.3.0",
Expand Down
Loading

0 comments on commit a2f1e1c

Please sign in to comment.