Giter Site home page Giter Site logo

saurabhhere / fan-club-portal Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 537 KB

Home Page: https://fan-club-portal.netlify.app/

HTML 2.23% CSS 20.95% JavaScript 76.66% Shell 0.15%
nodejs javascript react react-hooks css html cors express mongodb mongoose context jwt bcrypt react-modal react-toastify react-router-dom socket-io react-icons oauth2 momentjs

fan-club-portal's Introduction

Fan Club Portal

About

With not much to do amidst the lockdown, most of us have sought solace in Movies and web-series. And many times, some character (be it real or fictitious) catches our eye, and we cannot help but become their die-hard fans. Fan Club Portal is for every loyal fan out there. In this App, Users can create a chat room for any movie/series they like which can be followed by other fans logged into the portal.

Key inclusions:

  • Authentication is must for each user.
  • Authentication using JWT and Google OAuth both are added.
  • Email verification is must to activate the account (when JWT authentication is used i.e. using sign up form).
  • All fans registered for the first time will be redirected to their profile page, where they have to complete their profile details like: hobbies, favourite character, favourite Show etc. Completing profile details are must to create and join any chatroom.
  • Homepage shows all chatrooms followed by user.
  • Clicking on a certain chat room redirects the User to another page displaying the chat messages, chat room members and the active chat room members.
  • Clicking on any chat room member will redirect the user to their profile page.
  • Users can share text messages and images in the chat rooms. The messages will have the timestamps displayed alongside them.
  • Users sent and received messages are shown on different side of chatroom and with different colors.
  • The User can also create a new chat room by providing the Title, optional display picture, and a short description of the chat room. The creator plainly becomes the Admin of the chat room.
  • The Admin of the chat room can assign other fans the role of admins of the room.
  • Users can see chatroom details by clicking on info button in any chatroom. Only the Admins will have permissions to edit the chat room details (i.e. name, description, display picture).
  • Real time updating of messages using Socket.io.
  • View all chat in the hamburger redirects the User to the All Fan Clubs Page that lists all the chat rooms ever created. The User may follow any chat room and can then become its member.
  • A leaderboard to keep a record of the top fans based on their activity.
  • A leaderboard to keep a record of the top chatrooms based on their activity.
  • Search feature to search for chatrooms.
  • Error Handing in all forms (i.e. verification of proper email address, etc using regex)

Major Tech Stack:

React, Nodejs, MongoDB, Express, Nodemailer, Socket.io

Preview:

Login Page login

Chatrooms Followed Page Screenshot from 2021-03-20 11-24-25

Individual Chatroom Page chatroom

All Chatroom Page Screenshot from 2021-03-20 11-24-57


Fans Leaderboard Page Screenshot from 2021-03-20 11-54-36

Chatroom Leaderboard Page Screenshot from 2021-03-20 11-54-03

Installation

Open terminal
https://github.com/saurabhhere/Fan-club-portal.git
cd Fan-club-portal

For client side:

cd client
npm install
npm start

For server side:

cd server
npm install 
nodemon server

Add .env file in server folder containing:

PORT = 5000
CONNECTION_URL = your_mongo_connection_string
JWT_SECRET = your_secret_string
EMAIL= your_yahoo_email
PASSWORD= your_email_password
CLIENT_URL=http://localhost:3000

Add keys.js on client side inside src folder:

module.exports = {
    clientId: "your_google_clientId"
}

Add keys.js on server side inside config folder:

module.exports = {
    google: {
        clientID: "your_google_client_id",
        clientSecret: "your_google_client_secret"
    }
}

Specially developed for IMG, IIT ROORKEE ❤️

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.