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

Adding credits #57

Open
mikirov opened this issue Nov 19, 2017 · 1 comment
Open

Adding credits #57

mikirov opened this issue Nov 19, 2017 · 1 comment

Comments

@mikirov
Copy link

mikirov commented Nov 19, 2017

Hello. I used your code as a base to try and make some project of mine and now i want to add credits on each user. Should i add it in the database collection User or should i create a separate Credits collection. If I want to implement credits on the User model how should i go on about updating the info when i serialize the user ? I want to use the credits property as "req.user.credits". How do i do that ?

@andrewda
Copy link
Owner

andrewda commented Jan 4, 2020

This is a good idea for the new guide. See #100.

@andrewda andrewda added this to To do in Guide Refresh Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Guide Refresh
  
To do
Development

No branches or pull requests

2 participants