Closed chubchubcharles closed 7 years ago
UPDATE (02/01) It's after Chinese New Year vacation now, I still have to do this.... lol
http://mongoosejs.com/docs/api.html#query_Query-find
so I don't have to look for this link again
I am trying to test CRUD on "exercises" using the mongo shell, but I cannot find an "exercises" collection, whereas "users" has a collection...
I thought it may be because I needed to insert an "exercise" document in order to generate an "exercise" collection, but I didn't have to do that with "users" upon startup, so I think it has to do with some startup code that creates only "users" collection, but not "exercises" collection..
Nevermind, you really have to insert a document in order to start a collection.
We need a user interface for CRUD-ing exercises and also associate the User and Exercise models together.
yeah I agree. we may need to sync up about this
Since you've implemented the MongoDB functionalities for Exercises, I think we can close it.
@MasterOfTheBus close if you think it's good!
k we've got the issue in to modify exercises, so i'll close this out
NOTE: Should begin after development environment setup completed.
Implement the CRUD features for an Exercise, like so:
Exit Criteria:
UPDATE (02/04/2017): I meant to say 'exercises' for 'books' in the exit criteria.