Giter VIP home page Giter VIP logo

nz-m / socialecho Goto Github PK

View Code? Open in Web Editor NEW
2.1K 2.1K 495.0 19.44 MB

Social networking platform with automated content moderation and context-based authentication system

Home Page: https://socialecho.netlify.app

License: MIT License

JavaScript 98.34% HTML 0.19% CSS 0.63% Shell 0.23% Dockerfile 0.06% Python 0.55%
authentication azure-blob-storage azure-storage bart-large-mnli express huggingface-transformers jwt-authentication mern-project mern-stack mongodb mongoose nodejs react redux social-media

socialecho's Introduction

Neaz's GitHub stats

socialecho's People

Contributors

iqbal-emon avatar nz-m avatar rownokmahbub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

socialecho's Issues

setLoading needs to split

setLoading(false);

setLoading(false);

if (loading || error) {

Currently setLoading is shared with the redux store initialization and the server-status check.

If any one of them passes, the app renders.
So you can have:

  1. possibility that the server is down, but redux initialized successfully, so no "loading.." will occur unless 'error' flag is also set quickly.
  2. Even worse, the server-status check completes really fast, before redux store is initialized, and the app tries to acces useState for example before the store is up. (Ask me how i know ๐Ÿ˜‰)

Better to split the two, have two flags and check for both.

[FEAT]: Google Sign-In Integration

Description

Add Google Sign-In functionality to the website to allow users to authenticate using their Google accounts. This feature aims to provide a convenient and secure login method, enhancing user experience and potentially increasing user registration rates.

Requirements

  1. Google Sign-In Button: Add a Google Sign-In button on the login and registration pages.
  2. OAuth 2.0 Implementation: Implement OAuth 2.0 flow to securely authenticate users via their Google accounts.
  3. Backend Integration: Connect the authentication process to the backend, ensuring proper user session management.
  4. UI/UX: Ensure the sign-in process is seamless and intuitive for users.
  5. Error Handling: Properly handle and display any errors that occur during the sign-in process.

Additional Information

Acceptance Criteria

  1. Users can see a Google Sign-In button on the login and registration pages.
  2. Users can sign in using their Google accounts.
  3. The backend properly handles the OAuth 2.0 authentication flow.
  4. Users are seamlessly redirected to the dashboard or appropriate page after sign-in.
  5. Proper error messages are displayed for any authentication errors.

Tasks

  • Add Google Sign-In button to the login and registration pages.
  • Implement OAuth 2.0 flow for Google Sign-In.
  • Integrate the authentication process with the backend.
  • Ensure smooth UI/UX for the sign-in process.
  • Implement error handling for authentication issues.

Labels: enhancement, authentication, frontend, backend

[Bug]: css not loading properly

Contact Details

[email protected]

Bug Description

Screenshot from 2024-07-21 09-23-20
It seems that the CSS is not working properly, and all images are too big. I managed to fix some by adding CSS code directly to the JSX file, but it looks ugly. I also manually fixed the icons that were too big. As you can see in the picture, it appears that the CSS might be missing or something else might need to be installed. Thank you for your help.
P.S. I'm still learning.

Environment

Linux

Reproduction Steps

No response

Browsers

No response

Relevant Log Output

No response

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.