GithubHelp home page GithubHelp logo

arnav17v / social-media-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ihtasham42/social-media-app

0.0 0.0 0.0 5.96 MB

Social media application built with the MERN stack

Home Page: https://post-it-heroku.herokuapp.com/

License: The Unlicense

JavaScript 98.31% CSS 0.35% HTML 1.34%

social-media-app's Introduction

PostIt

PostIt is a fully-featured social media web application, built with the MERN stack.

Deployed at: https://post-it-heroku.herokuapp.com/
GIF of PostIt walkthrough

Features

  • Create, read, update and delete posts
  • Like and unlike posts
  • Create, reply to, read, update and delete nested comments
  • Markdown for posts and comments
  • Sign up and login using JWT for authentication
  • Private message users in real-time using socket.io
  • View profiles of users and browse through their posts, liked posts and comments
  • Infinite scrolling
  • Sort posts by attributes such as like count, comment count and date created
  • Profanity filtering and posting/commenting cooldowns
  • Update bio which can be viewed by other users
  • Search for posts by their title
  • View the users who liked a particular post
  • Fully responsive layout

Installation and usage

  1. Clone this repository
git clone https://github.com/ihtasham42/social-media-app.git
  1. Install dependencies
cd social-media-app  
npm install
cd client
npm install
  1. Create .env in root directory
cd ..
touch .env
  1. Configure environment variables in your new .env file. To acquire your MONGO_URI, create a cluster for free over at https://www.mongodb.com/. The TOKEN_KEY is a secret key of your choosing, you can generate one at this site: https://randomkeygen.com/.
MONGO_URI=<YOUR_MONGO_URI> 
TOKEN_KEY=<YOUR_TOKEN_KEY>
PORT=4000
  1. Run the server
npm run server
  1. Start a new terminal and run react's development server
cd social-media-app
cd client
npm start

Screenshots

Explore view

image

Post view

image

Nested comments

image

Profile view

image

Real-time private messenger

image

Search view

image

social-media-app's People

Contributors

ihtasham42 avatar cmartdec avatar chiho-5 avatar jclind avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.