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

Sg ls postevents #81

Merged
merged 14 commits into from
Nov 17, 2022
Merged

Sg ls postevents #81

merged 14 commits into from
Nov 17, 2022

Conversation

lucass0717
Copy link
Contributor

@lucass0717 lucass0717 commented Nov 1, 2022

ℹ️ Issue

Closes #47

📝 Description

  • Updated the schema to use Programs instead of News
  • Migrated the schema changes with Prisma
  • Updated Jest Tests and mock data to account for the renaming and additional fields
  • Updated the README to help those encountering issues with setting up a postgresql db server

✔️ Verification

Ran npm run test and encountered only one error that will be resolved when GET Programs is implemented
image
image

🏕️ (Optional) Future Work / Notes

Potentially abstract schema changes into its own ticket.
Issue #46 should use 'programs' as the naming convention for what was previously news / events

Copy link
Contributor

@thejamielin thejamielin left a comment

Choose a reason for hiding this comment

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

just got through the README but will make more comments today or tomorrow! great work so far @lucass0717 and @surbhi-gulati

README.md Show resolved Hide resolved
Copy link
Contributor

@thejamielin thejamielin left a comment

Choose a reason for hiding this comment

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

lgtm! made a single comment about consistency with naming but otherwise amazing work @surbhi-gulati and @lucass0717

.gitignore Outdated Show resolved Hide resolved
lib/api/programsLogic.ts Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
Copy link
Contributor

@adriannaliu adriannaliu left a comment

Choose a reason for hiding this comment

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

looking good guys! have some comments for you guys but amazing job :)

lib/api/programsLogic.ts Outdated Show resolved Hide resolved
lib/api/programsLogic.ts Outdated Show resolved Hide resolved
test/api/examples/programMockData.ts Show resolved Hide resolved
test/api/programs.test.ts Outdated Show resolved Hide resolved
test/api/programs.test.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@thejamielin thejamielin left a comment

Choose a reason for hiding this comment

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

lgtm! let's get this merged!

Copy link
Contributor

@adriannaliu adriannaliu left a comment

Choose a reason for hiding this comment

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

looks great!

@surbhi-gulati surbhi-gulati merged commit a2f25e9 into master Nov 17, 2022
@surbhi-gulati surbhi-gulati deleted the sg-ls-postevents branch November 17, 2022 15:32
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.

Back-end: POST Program
5 participants