Skip to content

Christina Kopecky#260

Open
ckopecky wants to merge 5 commits intobloominstituteoftechnology:masterfrom
ckopecky:master
Open

Christina Kopecky#260
ckopecky wants to merge 5 commits intobloominstituteoftechnology:masterfrom
ckopecky:master

Conversation

@ckopecky
Copy link

@ckopecky ckopecky commented Jun 15, 2018

###Sprint Challenge Checklist

  • Questions in Answers.md filled out
  • Files created for budgetModel, categoryModel, and expenseModel and their respective routers.
  • Create Schemas
    • BudgetSchema
    • category Schema
    • expense Schema
  • Add endpoint code to server.js. Remember to install any npm packages you need.
    • budgets
      • POST to '/budgets'
    • categories
      • POST to '/categories'
        • post a minimum of four categories so when you create your expenses you can assign where they go!
      • GET '/categories'
        • only .select the title of the categories
    • expenses
      • POST to '/expenses'
        • .select budget_id and category_id. Add this to your schema if not already there.
        • .populate your budget and category docs
        • GET '/expenses'

#Stretch Goals

  • Add as many CRUD endpoints as you can to break the application into separate Routers.

  • Validate the data at the endpoint, before saving it to the database.

  • Add a React front-end

  • investigate what MongoDB's Aggregation Framework is all about.

ckopecky added 5 commits June 15, 2018 07:38
created checklist for MVP and stretch

created Model and Router files for each of the collections
budget router created bare bones so that it wouldn't throw an error
did everything but stretch and very last item on list.

I was stuck on this one for some time.

Maybe we can go over this particular problem?
@designerexpert
Copy link

Comments

  • Great job Reaching MVP 💯
  • I believe the only thing missing is those Stretch Goals
  • You demonstrate a good understanding of the MongoDB concepts, Schema and Data Population. I think you can benefit from the extra knowledge on Aggregation, and a bit more on Custom Validation.
  • Great job so far, I am impressed with how far you have made it on the MBP group!

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.

2 participants