Skip to content

Nexus is a powerful social network web application. The application includes features such as fully customizable user profiles, a powerful dashboard, ability to connect with others as a friend, comment and leave replies to own or your friend's posts.

Notifications You must be signed in to change notification settings

gauravjot/social-network

Repository files navigation

Nexus: Social Network

Nexus is a powerful social network web application. The application includes features such as fully customizable user profiles, a powerful dashboard, ability to connect with others as a friend, comment and leave replies to own or your friend's posts.

Nexus homepage Screenshot of Nexus homepage.

Behind the scene

Things which Nexus is or does behind the scenes are:

  • Token Based Authentication
  • Uses browser's localstorage on frontend to save sessions
  • Reactjs and Redux
  • Frontend works independent of backend and vice versa

How to run?

Requirements

Steps

  1. Once you have requirements met, you can either download the project from Github or clone the project using Git. To clone use git clone https://github.com/gauravjot/social-network.git in terminal or command prompt.
  2. Naigate to project directory in terminal or command prompt and run pip install -r piplist.txt (use pip3 if command with error pip not found). This will install necessary python packages to run the project.
  3. Inside project folder, rename .envsample to .env and edit in a text editor to fill out the details for database. You can generate a random secret key with this webtool.
  4. Once .env file is setup properly, run commands in exact order: python manage.py makemigrations and then python manage.py migrate (use python3 if python not found). This will setup the database for it to be ready to use.
  5. After migration is successful, run python manage.py runserver and leave the server running.
  6. Open a separate terminal or command prompt window and navigate to frontend folder within project.
  7. Run npm install and then npm run-script start.
  8. You should be able to see the project running on http://localhost:3000

Contribute

Feel free to fork and make pull requests. Thank you to everyone who invests their effort and time!

Gallery

Screenshot of User Dashboard.

User Dashboard

Receiving a friend request and notifications.

Receiving a friend request and notifications

User Profile.

User Profile

Posting comment reply.

Posting comment reply

Dark mode support.

Dark mode

Mobile support.

Mobile support

Database Structure

Databases Tables

About

Nexus is a powerful social network web application. The application includes features such as fully customizable user profiles, a powerful dashboard, ability to connect with others as a friend, comment and leave replies to own or your friend's posts.

Resources

Stars

Watchers

Forks