OnlyFriends

Introduction

(visit the LIVE site)

OnlyFriends is a Simple Social Media application built using JavaScript, Node.js, Express, Mongoose, and Bootstrap. It utilizes the MVC Architecture, MongoDB and MongoAtlas NoSQL database - with Cloudinary image hosting, and implements "local authorization" for user sign-up and login.

Contributors

Gil Solis

Yash Parekh

Barbara Law

Pedro Medina


Objectives

This application was built to strengthen our understanding of the various libraries and elements used within. Feel free to give it a ::star:: and fork it to make it your own!


Who can benefit from working on this repo?

It's for beginners & intermediates with little more experience, to help understand the various aspects of building a node app with some complex features.


Optimizations

Some possiblie features/optimizations include:

  • Links from posts/comments to user's profile and their posts
  • Comments with scrolling capability
  • Limiting the aspect ratio and/or cropping images to a standard size
  • Ability to edit post
  • Ability to edit profile

Packages/Dependencies used

connect-mongo, dotenv, ejs, express, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, cloudinary, multer, serve-favicon, validator


Install all the dependencies or node packages used for development via Terminal

npm install


Things to add

  • Create a .env file and add the following as key: value
    • PORT: 2121 (can be any port example: 3000)
    • DB_STRING: your database URI

Have fun testing and improving it! 😎