An Angular project which allows the user to input in their own Personal Charts, and see stats relating to their charts.
At the moment, it is possible to:
- Upload charts (including multiple 'series' of charts)
- See the chart runs of songs
- See the chart history of artists
- Create leaderboards of cumulative points totals in a period of time
Before setting up, ensure MongoDb is installed on your machine.
In order to run the UI:
- navigate to
/ui
- run
npm i
- run
ng serve
- in your web browser, navigate to
localhost:4200
In order to run the DB API:
- set the following environment variables:
MONGO_URI = <URI of Mongo instance, if running locally this will be 'mongodb://127.0.0.1:27017'>
MONGO_DB = <Mongo DB Name, for example `personal_chart`>
PORT = 8083
- navigate to
/db-api
- run
npm i
- run
tsc
- run
node dist/index.js