We created a CreateEvent form including fields like title, start time, end time, date, and description. There is also a button for the AddQuestion component, but for now there is no functionality to it. We then created a POST request to create an event with all the given data. We made the form and roles default for now, as they were not fields specified on the design, but they were specified in the schema.
Modifications
CreateEvent.tsx: Created fields for title, start time, end time, date picket for date, and description. made a POST request to create an event with this data.
Testing Considerations
Tested that the event shows up in MongoDB and that the fields are filled out correctly with console.log for the data filled out.
Developer: {Kasey Liu, Amanda Chan}
Closes #13
Pull Request Summary
We created a CreateEvent form including fields like title, start time, end time, date, and description. There is also a button for the AddQuestion component, but for now there is no functionality to it. We then created a POST request to create an event with all the given data. We made the form and roles default for now, as they were not fields specified on the design, but they were specified in the schema.
Modifications
CreateEvent.tsx: Created fields for title, start time, end time, date picket for date, and description. made a POST request to create an event with this data.
Testing Considerations
Tested that the event shows up in MongoDB and that the fields are filled out correctly with console.log for the data filled out.
Pull Request Checklist
Screenshots/Screencast
website:
console:
mongo: