PalisadoesFoundation / talawa-api

API Backend for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
205 stars 679 forks source link

Update the Sample Data With Recurring Events #1903

Open palisadoes opened 4 months ago

palisadoes commented 4 months ago

We need to have more realistic data in the Talawa-API sample data importation process. The data also needs to be more secular so that the application will more likely appeal to a wider range of Admins testing Talawa for their communities.

Possible Approach

You will need to investigate whether this approach is viable and suggest modifications where applicable.

  1. Load the current sample data into Talawa Admin
  2. Use Talawa Admin to make the modifications below
  3. Save the resulting database as the new sample data that setup.ts uses

Events

We need recurring events created so that the calendar is populated no matter when the data is loaded.

Weekly Recurring Events – Non Registration

Add the following public events to each organization. Registration is not required:

  1. Monday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Yoga Class for Seniors": 10:00am – 11:00am, Location: Studio B
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
    5. "Book of the Week Club": 2:00pm – 3:00pm, Location: Atlantic Conference Room
  2. Tuesday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  3. Wednesday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Art Class - Advanced": 10:00am – 11:00am, Location:
    5. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  4. Thursday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Kids Karate": 6:00pm – 7:00pm, Location: Studio B
    4. "Art Class - Beginners": 3:00pm – 4:00pm, Location: Studio A
    5. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  5. Friday:
    1. "Aerobics for Everyone": 6:00am – 7:00am, Location: Studio A
    2. "Early Morning Pilates": 6:00am – 7:00am, Location: Studio B
    3. "Neighborhood Watch Meeting": 6:00pm – 7:00pm, Location: Atlantic Conference Room
    4. "Lap Swimming": 6:00am – 3:00pm, Location: Pool
  6. Saturday:
    1. "So Bad They’re Good Movie Night": 7:00pm – 9:00pm, Location: Main Theatre
  7. Sunday:
    1. "Travel Club": 6:00pm – 7:00pm, Location: Atlantic Conference Room

Weekly Recurring Events – With Registration

Add the following public events to each organization. Registration is required. Make at least 4 of the newly added users be pre-registered in each of the events with no timing conflicts.

  1. Monday:
    1. "Youth Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Finance Committee Meeting": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Risk Committee Meeting": 6:00pm – 7:30pm, Location: Arctic Conference Room
  2. Tuesday:
    1. "Adult Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Conference Planning Committee": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Organization Strategy Workshop": 6:00pm – 7:30pm, Location: Arctic Conference Room
  3. Wednesday:
    1. "Youth Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Families With Addiction": 5:00pm – 6:30pm, Location: Pacific Conference Room
    3. "Investment Strategy Committee": 6:00pm – 7:30pm, Location: Arctic Conference Room
  4. Thursday:
    1. "Adult Swimming Lessons": 3:00pm – 5:00pm, Location: Pool
    2. "Programming for Everyone": 3:00pm – 5:00pm, Location: Computer Lab
    3. "University Preparation Tips": 5:00pm – 8:00pm, Location: Arctic Conference Room
  5. Friday:
    1. "Career Counseling": 3:00pm – 5:00pm, Location: Pacific Conference Room
  6. Saturday:
    1. "Saturday Serenade Concert": 5:00pm – 7:00pm, Location: Garden Patio
    2. "Youth Soccer Lessons": 9:00am – 10:00am, Location: Sports Field
  7. Sunday:
    1. "Travel Club": 6:00pm – 7:00pm, Location:

Other

  1. All tests must pass
  2. No functionality of the app must be affected
  3. The suggested entries above may have errors. Wherever possible there must not be scheduling conflicts for:
    1. Locations
    2. Users
    3. The sample data must be importable by the setup script without error and fully functional no matter how many times the setup script is run.
its-VinayKumar commented 4 months ago

@palisadoes Plz assign me this issue.

palisadoes commented 4 months ago

It's already assigned

github-actions[bot] commented 3 months ago

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.