-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add backend #37
Add backend #37
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, only a few minor changes needed.
src/constants/student-info.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we maybe have a newline to separate out each of the constants?
src/db/schema.ts
Outdated
|
||
emailPreferences: text('email_preferences', { mode: 'json' }), | ||
|
||
membershipExpiredAt: integer('membership_expired_at', { mode: 'timestamp' }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to membershipExpiresAt
and membership_expires_at
as membership could still be ongoing (it doesn't really make sense to say "expired" if it hasn't, if you get what I mean).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really need to learn more English 🤣
Description
Add backend
Changes Made
Related Issues
close #18
Additional Notes
Read the updated readme and env example to initialize database first.