UC1 Create an Event - UC-MSIS-WEBDEV/volteer GitHub Wiki
Story
AS an organizer
I WANT To be able create events
SO THAT I can share the events with my contacts
URL Format
https://[host]/events/create
Screens
Single Page form that collects the following information
- Organizer Name (required, single field for first and last name)
- Organizer Email (required)
- Event Date & time (required, must be in future, can only 90 days out)
- Event Summary (required, < 140 chars to describe the event)
- Event Details (optional, <750 chars to provide additional information, details, incentives, etc)
- Event Location (optional, Google Maps Javascript API lookup)
- Number of participants requested (required)
System Processing
Upon a valid event submission the system shall:
- Create a random event identifier for the event
- Create an administration token
- Create a confirmation token
- Store the event in the data store for future retrieval
- Send the organizer an event created email
Backend API
[POST] https://[api_host]/api/createEvent
Email Communication
The email sent to the organizer will have at a minimum the following content:
to: Organizer Name <organizer email>
from: Volteer <[email protected]>
subject: Volteer Event Created - Confirmation Required
body:
Your event has been created. Please do not delete this email as it contains important links you will need to confirm and to administer your event.
Next Steps:
1. Confirm your Event
Please click the following URL to confirm your event
`https://[host]/confirmEvent?event=[event_code]&confirm=[confirmation_code]`
2. Share your Event
Use this link to share your event with your contacts
`https://[host]/events/[event_code]`
3. Administer your Event
*Do Not Share This Link*. The link below is just for you and allows you to administer your event.
Administration Link: `https://[host]/editEvent?event=[event_code]&adminCode=[admin_code]`
4. Delete your Event
*Do Not Share This Link*. The link below is just for you and allows you to delete your event.
Delete Event Link: https://[host]/cancelEvent?event=[event_code]&adminCode=[admin_code]