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

Build out MongoDB Collections from JSON object with Mongoose #41

Closed
ijemmao opened this issue Sep 30, 2020 · 0 comments · Fixed by #45
Closed

Build out MongoDB Collections from JSON object with Mongoose #41

ijemmao opened this issue Sep 30, 2020 · 0 comments · Fixed by #45
Assignees
Labels
mongo work concerning mongodb parse concerns the parsing script

Comments

@ijemmao
Copy link
Collaborator

ijemmao commented Sep 30, 2020

Now that this repo is able to parse the dictionary PDF and create a well-structured JSON object with terms and their information, it's time to start preparing this data to live in MongoDB.

This issue focuses on creating basic MongoDB documents and collections. Mongoose will be used to build out some basic schemas.

Schemas

Word

  • word - String
  • wordClass - String
  • definitions - Array[String]
  • phrases - Array[Phrase]
  • examples - Array[Example]

Phrase

  • phrase - String
  • parentWord - Word
  • definition - String
  • Examples - Array[Example]

Example

  • example - String
  • parentPhrase - Phrase
  • parentWord - Word
@ijemmao ijemmao added the parse concerns the parsing script label Sep 30, 2020
@ijemmao ijemmao self-assigned this Sep 30, 2020
@ijemmao ijemmao changed the title Build out English to Igbo JSON object Build out MongoDB Collections from JSON object Sep 30, 2020
@ijemmao ijemmao added the mongo work concerning mongodb label Sep 30, 2020
@ijemmao ijemmao changed the title Build out MongoDB Collections from JSON object Build out MongoDB Collections from JSON object with Mongoose Sep 30, 2020
@ijemmao ijemmao added this to To do in Igbo Dictionary API Sep 30, 2020
@ijemmao ijemmao moved this from To do to In progress in Igbo Dictionary API Sep 30, 2020
@ijemmao ijemmao mentioned this issue Oct 2, 2020
@ijemmao ijemmao closed this as completed Oct 2, 2020
Igbo Dictionary API automation moved this from In progress to Done Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mongo work concerning mongodb parse concerns the parsing script
Projects
Development

Successfully merging a pull request may close this issue.

1 participant