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.
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!
It's for beginners & intermediates with little more experience, to help understand the various aspects of building a node app with some complex features.
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
connect-mongo, dotenv, ejs, express, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, cloudinary, multer, serve-favicon, validator
npm install
- Create a
.env
file and add the following askey: value
- PORT: 2121 (can be any port example: 3000)
- DB_STRING:
your database URI
Have fun testing and improving it! 😎