Collaborative calendaring specifically designed for college students (though anyone could use it). Allows for schedule sharing and simplified event planning.
College students are an interesting demographic when it comes to event planning. They so much want to hang out with friends and do fun activities, but while that stage in life is often seen as the most "liberating", they ironically struggle to find common free time among the classes, work hours, and other responsibilities. They all have free-time eventually, but finding a common free-time is always a hassle. What's Your Schedule allows college students (or anyone, for that matter) to easily share their schedule with friends, find common availability, and create event invitations to spend less time coordinating, and more time having fun!
Here is a sequence diagram that shows how to people would interact with the backend to plan events.
sequenceDiagram
actor John
actor Jane
actor Alex
John ->> Server: Schedule
Jane ->> Server: Schedule
Alex ->> Server: Schedule
John ->> Server: Event Planning Request with: Jane and Alex
Server -->> John: Best times for event
John ->> Server: Event plan
Server -->> Jane: Event plan/proposal
Server -->> Alex: Event plan/proposal
Jane -->> Server: RSVP
Alex -->> Server: RSVP
- Social Media style schedule sharing (e.g. friends and groups system)
- Plan events and send proposals to friends/groups
- Service automatically finds best times for events by comparing schedules
- RSVP to events
- Make events be conditional one how many people RSVP to it
I am going to use the required technologies in the following ways.
- HTML - Uses correct HTML structure for application. Pages for login, viewing ones own schedule and creating events, and viewing another persons schedule.
- CSS - Application styling that looks good on different screen sizes, uses good whitespace, color choice and contrast. Clean, modern look.
- React - Provides login, schedule management, and event creation
- Service - Backend service with endpoints for:
- login
- managing schedule
- event creation
- DB/Login - Store users, schedules, and events in database. Register and login users. Credentials securely stored in database. Must be authenticated to do anything.
- WebSocket - As events are made, the notification is broadcast to user's friends
- Server deployed and accessible with custom domain name - Server link.
Login(index), home, friends, friend_schedule, and about pages added. Placeholder and example data in place.
- I completed the prerequisites for this deliverable (Simon deployed, GitHub link, Git commits)
- HTML pages - 5 HTML Pages to represent logging in, the home page, about page, friends page and individual friends' schedules
- Proper HTML element usage - Divs, forms, and buttons for interactivity, and some
ifor fancy. Plus, the calendar is a table. - Links - Login(index) -> Home, and Home has links to friends and about. Friends links to individual.
- Text - This app doesn't require a massive about of text, since the major focus is the calendar, but titles and event placeholders are there
- 3rd party API placeholder - Button that will redirect to link account with BYU CAS
- Images - Website Logo
- Login placeholder - Is there
- DB data placeholder - Besides the user data, it's a calendar- the events will be in the database, as well as the users friends
- WebSocket placeholder - Pending events and friend chat
I drew a lot of inspiration from Facebook and Google Calendar (since this is basically a baby of the two).
- Visually appealing colors and layout. No overflowing elements. - A clean, minimalistic color pallet and layout. Again, I tried to make it look reminiscent of some other social media/scheduling platforms.
- Use of a CSS framework - CSS Bootstrap all over the place. I have mixed feelings about it.... It does do a lot just by adding one class to the element, but it just seems like we're back to in-line styling again.
- All visual elements styled using CSS - It's all styled by CSS. I'm not a boomer and therefore did not use
<center>html for styling. - Responsive to window resizing using flexbox and/or grid display - Very responsive and will format slightly differently depending on screen size/orientation. Looks good on a desktop or phone.
- Use of a imported font - I had to resist the urge to use Orbitron, my favorite font. Unfortunately, that ones pretty futuristic looking, and I was going for more simple modern. Maybe for some other project. For now, we're using Funeral Sans
- Use of different types of selectors including element, class, ID, and pseudo selectors - Mostly classes, but I used ID's for the Modal and a ::before to get the dot before the events on the calendar
Converted all the old HTML files into JSX files, and used Routing to make this a single page application.
- Bundled using Vite - Vite is downloaded and has bundled. How nice of it.
- Components - Each page is it's own component that gets rendered in when correctly routed. I added another component for the header and used nested routing so that the header is only visible on the pages I want it to be visible at.
- Router - Routing between all the pages/components (login, home, friends, friend_schedule, and about).
It's reactive now! Using React the calendars and friends list are actually responsive.
- All functionality implemented or mocked out - Everything do be working! I got a little lazy with making super detailed events... but you'll get the idea.
- Hooks -
useStateanduseEffectfor live events and friend list updates. Also usedcontextfor the toast to work.
I hope you know I pull an all nighter for this ;-; Either way, the thing uses a server now. My mom won't be able to tell the difference.
- Node.js/Express HTTP service - Done
- Static middleware for frontend - Diddy done. Made some of my own to to make variable parsing easier
- Calls to third party endpoints - Using the BYU Events API. However... they don't specify a CORS, so... I kinda cheated and have my server call their API.
- Backend service endpoints - Endpoints for getting, making, and updating users, friends, friendRequest, events, and eventInvites
- Frontend calls service endpoints - Fetch bro. It's great.
- Supports registration, login, logout, and restricted endpoint - You can log in, register, and logout! Just don't expect it to stay if the server restarts.
This was actually a lot more straight forward than I thought it would be. That's nice.
- Stores data in MongoDB - Events are stored in Mongo
- Stores credentials in MongoDB - User data stored in Mongo
Not gonna lie... I was a little lost on this one for a while, but we got there eventually.
- Backend listens for WebSocket connection - Backend listens for connection, and stores it alongside the username
- Frontend makes WebSocket connection - The frontend does indeed connect
- Data sent over WebSocket connection - The server will send notifications to users when certain events happen
- WebSocket data displayed - On new friend requests, new event invites, and when someone accepts your friend request, a toast is displayed and the corresponding list is updated as well.
- Application is fully functional - Maybe not exactly how I pictured it at the beginning of the semester, but hey! It works!
