Saturday, 13 October 2018

Looking for people to evaluate my code (Express/Mongoose) - Instagram clone

Code:https://github.com/ibrahimpg/venomgram-server​Website (fully deployed and usable right now, free tier on heroku so it might take a few moments to load):https://ift.tt/2Omu1vX usernames for testing: username1, username 2, username 3, username 4, username 5 - password is "password" for all​not looking for advice on the UI btw, that's a separate thing I will work on later.​looking for advice on: error handling, best practices, folder structure, correct use of eslint, proper index.js structure (i have a feeling there's a separation of concerns problem in mine), safety and security (i know i should restrict CORS to only my URL, so other than that) and anything else you pick up.​I really appreciate it guys.Edit: Just a quick map of the UI:"Home" icon is your feed - posts of people you follow."Search" icon is the posts of everyone you don't follow."Camera" is to upload an image."Profile" is your profile.PS: I know that you should restrict the amount of posts that load and allow people to load more ie send posts 6-10 to the user after he scrolls past the 5th post, I am planning on adding this functionality after taking a short break. As well as viewing other people's profiles - stuff I will add later.

Submitted October 13, 2018 at 09:14PM by temporary_jswarrior

No comments:

Post a Comment