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.
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
- 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. - Naigate to project directory in terminal or command prompt and run
pip install -r piplist.txt
(usepip3
if command with errorpip not found
). This will install necessary python packages to run the project. - 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. - Once
.env
file is setup properly, run commands in exact order:python manage.py makemigrations
and thenpython manage.py migrate
(usepython3
ifpython not found
). This will setup the database for it to be ready to use. - After migration is successful, run
python manage.py runserver
and leave the server running. - Open a separate terminal or command prompt window and navigate to frontend folder within project.
- Run
npm install
and thennpm run-script start
. - You should be able to see the project running on http://localhost:3000
Feel free to fork and make pull requests. Thank you to everyone who invests their effort and time!