Skip to content

Latest commit

 

History

History
125 lines (74 loc) · 4.27 KB

README.md

File metadata and controls

125 lines (74 loc) · 4.27 KB

Hive-Hut

It is a Full-stack Social Media website that has authentication(login/signup) functionality, upon registration a user profile is created and the user is taken to the home page of the application. JWT Authentication has been used to authenticate the user in this app.
In the home page there is an option to post something (image or text), the image posted are stored in the local storage. Rest API is used to handle the posts and the users.
In the left side of the page, the user profile picture and cover picture is shown in a card and below that the followers list is shown(The other people who have registered).
Upon going to "My Profile", user profile is shown where the user can fill in information about them and they can also update/change their cover picture and profile picture.
The app also supports dark and light mode. Users can follow and unfollow other users and it will render across the entire app.

Dependencies

dependency - Node.js
library - React.js
icons - react unicons
language - javascript
modal - mantime-modal
authentication - JWT
database - mongoDB
API - Rest API
Dependency - Express
Library - Mongoose
Encryption - bcrypt

Demo

https://social-media-yqi8.onrender.com

Sign up page -

Screenshot (75)

Login Page -

Screenshot (76)

Home Page -

Screenshot (69)

Profile Page -

Screenshot (72)

Share function -

Screenshot (71)

Information update -

Screenshot (73)

Dark Mode -

Screenshot (74)

Deployment

This project has been deployed using Render.com

For Backend/server

  • Web Service App

Branch

  main

Root directory

  server

Build command

  npm install

Start command

  npm run start

After this add .env variables to render and update the IP addresses in MongoDB. Deploy Server!


For Frontend/client

  • Static site Branch
  main

Root directory

  client

Build command

  yarn run build

Start command

  build

After this add .env variables to render.
Change the instances of backend link from client to the new provided link from deployed site from backend.
Deploy client!