Technologies and Technical Challenges - Trombed/mernproject GitHub Wiki
Technologies:
The project will be developed with MongoDB with Express at the backend with React at the frontend. Javascript Canvas for frontend imaging. Axios will be used as a method to hold user authentication token in the header.
Technical Challenges:
Main focus:
frontend:
Be able to create a UI for users to create custom a picture and edit the details to their liking to create their own meme.
Backend:
Main challenge at the backend will be to create duplication information for non-relational mongoDB and be able to process the information as efficiently as possible and store it in the database.
Directly save meme images to MongoDB or on AWS:
Initially, it was planned to save the images to AWS and the url to be saved under the meme's image_url. When it was implemented, via Mongo Stitch, it saved the meme onto another Database Collection and we had to query the url from that document to pull in the image_url. It was deemed the process created unnecessary saves and queries on the backend. Thus, implementation was switched to save the image directly onto the MongoDB.
Tables to save:
User table
Meme table
Comments table
Likes table