Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Schemas from MySQL to MongoDB #37

Open
dkutin opened this issue Dec 24, 2020 · 2 comments
Open

Migrate Schemas from MySQL to MongoDB #37

dkutin opened this issue Dec 24, 2020 · 2 comments
Labels
feature 💡 Wow... an Improvement! in-progress ⌚️ Loading... migration ♻️ For the greater good...

Comments

@dkutin
Copy link
Owner

dkutin commented Dec 24, 2020

Currently, this project uses a MySQL database to store data. While convenient, acquiring hosting and future improvements are made more difficult.

This task is to migrate all schemas from MySQL to MongoDB, leveraging node.js, and mongoose.

AC:

  • All Schemas in created in the codebase.
  • MongoDB connection set up.
  • PR merged.
@dkutin dkutin added feature 💡 Wow... an Improvement! migration ♻️ For the greater good... in-progress ⌚️ Loading... labels Dec 24, 2020
@philip
Copy link

philip commented Jul 5, 2022

Curious to try this (attempting to see if a functional PHP tool to access Yahoo's fantasy API exists in the universe); do you have a schema available so we can create the MySQL database?

@dkutin
Copy link
Owner Author

dkutin commented Jul 5, 2022

@philip It has been quite a while since I took a look at this project (and used it mostly for learning), though I found some information about the schema in the API wrapper I was building. The relevant files can be found below for the player and stats schemas:

https://github.com/dkutin/fantasytracker-api/blob/master/src/api/stat/v1/stat.model.js
https://github.com/dkutin/fantasytracker-api/blob/master/src/api/player/v1/player.model.js

Feel free to take a look. In the meantime, I will try and see if I can find more info about it as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 Wow... an Improvement! in-progress ⌚️ Loading... migration ♻️ For the greater good...
Projects
None yet
Development

No branches or pull requests

2 participants