Skip to content

๐Ÿช Nonlight mimic some functionalities of Reddit. We are responsible for Front-End part. Nonlight is social media website that can help you to enjoy your time and share your ideas and connect with other people on it.

License

Notifications You must be signed in to change notification settings

NonLegit/Front-End

Repository files navigation

NonLegit

logo

โ€Lets Go, Start New Adventure.โšกโ€œ


Table of Contents


Overview


Get Started

  1. Clone the repository
    git clone https://github.com/NonLegit/Front-End/tree/main
    
  2. Run json server
    npm run server-json 
    
  3. Run the program
    npm run start
    
  4. Build functional document
    npm run docs
    
  5. Build test document
    npm run test
    

Build & Deployment

There are a few additional environment variables that are used when building and deploying for production.

  1. REACT_APP_GOOGLECLIENTID: A environment string used in connecting with google client.
  2. REACT_APP_FACEBOOKCLIENTID:A environment string used in connecting with facebook client.
  3. REACT_APP_SITEKEY: A environment string used in google captcha..
  4. REACT_APP_ENV: An environment string. Currently it is only used to differentiate different deploys (development or production).
  5. REACT_APP_PROXY_DEVELOPMENT: The base URL of the development server. default value is http://localhost:8000.
  6. REACT_APP_PROXY_PRODUCTION: The base URL of the backend

Features

Features

Feature ScreenShot Description
๐Ÿ”ท Authentication logo
  • Login
  • Sign-up
  • Sign-up with Google and Facebook
  • Reset Password
  • Forget User Name
๐Ÿ”ถ Create Post logo

1) You con create 3 types of post

  • ๐Ÿ“ Text: you can add text and styling it with fancy text editor
  • ๐Ÿ“ท Image: you can upload photo or video to add to your post
  • ๐Ÿ“Ž Link: you can add link to your post

2) You con add 2 tag to your post

  • ๐Ÿ”ž NSFW
  • ๐Ÿ’ฅ spoiler
๐Ÿ”ท Search logo

The search results have 4 types

  • ๐Ÿ“ซ Posts
  • ๐Ÿ’ญ Comments
  • ๐Ÿ‘จโ€๐Ÿ‘ง Communities
  • ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ People
๐Ÿ”ถ User Actions logo

You con do actions on posts like

  • โ Upvote & Downvote
  • โคด Share
  • โœ’ Edit post
  • โœ… Approve (if you are moderator)
  • ๐Ÿ•ณ Spam
  • ๐Ÿ™ˆ Hidden
  • ๐Ÿ”ฑ Save
  • ๐Ÿšซ Delete (if you are moderator or creator post)
  • ๐Ÿ”’ Lock (if you are moderator or creator post)
๐Ÿ”ท Comments logo

1) ๐Ÿ–‡ Multilevel Comments

3) Actions on posts:

  • โ Upvote & Downvote
  • โœ… Approve (if you are moderator)
  • ๐Ÿ•ณ Spam
  • ๐Ÿ”ฑ Save
  • ๐Ÿ—ฏ Replay
๐Ÿ”ถ Settings logo
  • ๐Ÿšน Account

    • You can change (Email, Password, Gender, Country)

    • Delete Account

    • Connect with google

  • ๐Ÿ‘ค Profile

    • You can Edit (name , about, Profile picture, Background Picture)

    • You can on/off (NSFW, allow people to follow you)

    • You can add social links to other website

  • ๐Ÿšจ Safety and privacy

    • ๐Ÿ”ˆ You can block and unblock user

    • You can see block list

  • โšก Feed Settings

    • You can on/off (Adult content, autoplay media)

๐Ÿ”ท Notifications logo

1) ๐Ÿ™ˆ You con hide notification

2) Types Notification:

  • New Followers
  • Replies
๐Ÿ”ถ Profile logo

You con view

  • ๐Ÿ” Overview: you can see activity of user
  • ๐Ÿ“ซ Posts: you can see posts of user
  • ๐Ÿ—ฏ Comments: you can see comments of user
  • ๐Ÿ—ƒ History: posts just yo see it
  • ๐Ÿ“‹ Saved: posts and comments you saved it
  • ๐Ÿ™ˆ Hidden: posts you hide it
  • ๐Ÿ‘ Upvote: posts you upvote it
  • ๐Ÿ‘Ž Downvote: posts you downvote it
๐Ÿ”ท Subreddit logo

1) ๐Ÿ”ฐ You con create Subreddit

2) ๐Ÿ‘€ View posts of Subreddit

3) ๐Ÿคœ๐Ÿผ join or leave Subreddit

4) Subreddit types:

  • ๐Ÿ‘ท๐Ÿผโ€โ™‚๏ธ Public: Anyone can view, post, and comment to this community
  • ๐Ÿ‘โ€๐Ÿ—จ Restricted: Anyone can view this community, but only approved users can post
  • ๐Ÿ”’ Private: Only approved users can view and submit to this community
๐Ÿ”ถ Moderation logo

In Moderation page, you can control:

  • ๐Ÿ•ณ Spam: you can control spam posts
  • โœ’ Edited: you can control edited posts
  • ๐Ÿ’ˆ Unmoderator: you can control unmoderator posts
  • ๐Ÿšซ BANNED: you can ban users
  • ๐Ÿ”ˆ MUTED: you can mute users
  • โœ… APPROVED: you can add new moderators
  • ๐Ÿ‘จ๐Ÿฝโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿป MODERATORS: you can edit access to moderators
  • ๐ŸŽจ POST FLAIR: you can edit flair and make new flairs
  • ๐Ÿšง RULES: you can add new rules to subreddit
  • ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ COMMUNITY: you can edit (name of subreddit, community topics, community description, region, type of community)
  • ๐Ÿ’ญ POSTS AND COMMENTS: you can control type of posts
๐Ÿ”ท Messages logo

1) ๐Ÿ“ฉ Message Form (Send a private message)

2) ๐Ÿ“ฎ Sent Messages: message which you sent

3) ๐Ÿ“ฆ Inbox :

  • All: All messages
  • Unread: message which you didn't read it
  • Messages : message which you receive
  • Post replies: replies to your posts
๐Ÿ”ถ Push Notifications logo

1) ๐Ÿ’Œ Notifications and messages

2) ๐Ÿ”“ You must give permission to push notifications

3) Push Notifications types:

  • Foreground
  • Background
๐Ÿ”ท Top Communities logo

๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง View top communities by categories

๐Ÿ”ถ Pages logo
  • Home page

  • Popular

  • ALL

  • Explorer

๐Ÿ”ท Listing logo

You can sort posts

  • Hot
  • Top
  • New
  • Hot

GIF Demo

Video Content
NonLegit_1.mp4
  • Authentication
  • Comments
  • Notification
  • Messages
  • Settings

NonLegit_2.mp4
  • Home page
  • Posts
  • Create Post

NonLegit_3.mp4
  • My profile
  • Other Profile
  • Moderation
  • Top Communities

NonLegit_4.mp4
  • Create Subreddit
  • Subreddit
  • Moderation
  • Search
  • Explorer

Contributors


Nour Ziad Almulhem


Basma Elhoseny


Fady Adel


Ahmed Hosny


Adham Ali


Eslam Ashraf

๐Ÿ”’ License

Note: This software is licensed under MIT License, See License for more information ยฉNonLegit.

Releases

No releases published

Packages

No packages published

Languages