hack4impact-calpoly/youth-arts

Opportunity Schema

Closed this issue · 0 comments

Requirements

  • ./backend/models/opportunity.js
  • The schema should include:
    • title : String
    • description : String
    • location : String
    • pictures : [String]
    • Date : [Date] (should have date and time format)
    • skills : [String]
    • wish list : [String]
    • Tasks - dictionary
      • Role Name
      • Description
      • Time
      • Additional Requirements
    • Requirements field: [Strings]
    • Additional Info: [Strings]
    • list of Volunteer objects ( #13 ) [{type: Map, of: {start: [Date], end: [Date], tasks: [String], donated: [String]}}]
      • key:
        • Volunteer Id
      • value:
        • start datetime
        • end datetime
        • array of tasks signed up for
        • array of items they donated