To allow anonymous posting of short journal entries
Each entry uses a GIF
Each entry can be reacted with 3 emojis
Planning & Delivery
Layout and functionality was planned in Excalidraw
All collaboration was done via the GitHub repo
Technologies and Code
We deployed our website using Heroku for the server and Netlify for the client
We also used express, cors, and jest
We used a combination of get, post, patch, and put requests to build this website. Post for creating new entries, patch for modifying the emoji count, and put for adding comments
The data received from the client is saved onto a JSON, unfortunately this doesn't work on HEROKU so the entereddata only stays temporarily
Getting the front and back end to communicate properly was a challenge, we had to experiment with different fetch methods to achieve the required results.
Merging everyone's code was a challenge, but we got on a call and made sure everything went smoothly.
We struggled to find good examples to help us make the client-side tests, so unfortunately they don't get the coverage we would like.
Test Coverage
Test coverage on the server-side was really good, it was at 80% before we implemented the file writing, which dropped it down to 60%.
The client-side testing, unfortunately, didn't go as well. We struggled to get the tests to work and realized that without significant refactoring, the tests would be hard to implement.
Future Features & What We've Learned
Multiple gifs previewing at once so you get a better selection
Ability to sort the timeline by number of reactions and/or comments
It is important to consider tests on the client side when writing functions
Plan the presentation