Skip to content

MERN stack application, with user authentication where users can upload images as posts and make comments

License

Notifications You must be signed in to change notification settings

Ivana-Djordjevic/on-the-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

On-the-line

License

Table of Contents

Description

We have developed a social media application featuring user authentication capabilities. Our platform allows users to seamlessly post images accompanied by captions, fostering engagement through interactive commenting functionality.

Powered by a MERN stack architecture, our single-page application leverages React for an intuitive front-end experience, further enhanced by the elegance of Tailwind CSS/components/UI for design consistency and flexibility, while harnessing the power of GraphQL with Node.js and Express.js for efficient server-side operations. Data persistence is ensured through the utilization of MongoDB and Mongoose ODM, while AWS S3 serves as our reliable cloud server solution, ensuring seamless scalability and data management.

Seperation of tasks:

Ivana:

  • all front-end aspects
  • inital mongoose/grapql setup with login/sign up abilties
  • initially implemeted multer to store images
  • then set up the cloud server (to store images) & connected it to front end

Henry:

  • mostly backend
  • expanded on models to include Post and Comments
  • expanded on resolvers and typeDefs to include Post and Comments functionality
  • expanded on mutations and queries (on the front-end) to include the Posts and Comments functionality

screenshots:

welcome page:

welcome-page

signup page:

signup-form

homepage:

homepage-once-logged-in

create post form:

create-post-form

deployed Render link

Installation

Front end:

  • @apollo/client
  • jwt-decode
  • react
  • react-dom
  • react-paginate
  • react-router-dom
  • vite
  • @vitejs/plugin-react

Backend :

  • @apollo/server
  • @aws-sdk/client-s3
  • bcrypt
  • dotenv
  • express
  • graphql
  • heic-convert
  • jsonwebtoken
  • mongoose
  • mongoose-paginate-v2
  • multer

Usage

In this application, users have the ability to navigate through a collection of posts authored by their peers, affording them the opportunity to engage in discourse through the addition of comments. Additionally, users possess the autonomy to modify and remove their own contributions within the platform, ensuring a personalized and curated experience tailored to individual preferences.

Future devs:

Bugs:

  • fix pagination: currently the previous button only works if you press the next button twice, for that reason it was commented out

Improvments:

  • add a profile page where users can edit or delete their profile
  • add a donate page where users can donate to devs
  • add a feature that enables user to add filters onto their images
  • add a feature that enables users to like, as well as share a post
  • add a dark mode

License

This application is covered under: MIT License.

Credit