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

Feat/add mongoose #91

Merged
merged 8 commits into from
Apr 11, 2024
Merged

Feat/add mongoose #91

merged 8 commits into from
Apr 11, 2024

Conversation

swellander
Copy link
Collaborator

Description

Sets up Mongoose to help us interact with our mongoDB in a consistent way.

Additional Information

  • Will require reseeding the staging db

Related Issues

Closes #77

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
impact-calculator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2024 3:19pm

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I referenced this example when setting this up

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed these utils because we can now just use the mongoose model helper functions like VectorList.insert()

Mine wasn't set up for this by default so wanted to clarify it here for people down the road.
fixed typo
Copy link
Collaborator

@escottalexander escottalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent! I added a commit to the readme to make sure people know to include the database name in their connection string.

@escottalexander escottalexander merged commit aa715c0 into main Apr 11, 2024
3 checks passed
@swellander
Copy link
Collaborator Author

This is excellent! I added a commit to the readme to make sure people know to include the database name in their connection string.

@escottalexander good call, thanks for adding!

@swellander swellander deleted the feat/add-mongoose branch April 11, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add schemas to better handle data validation
2 participants