Skip to content

lubaskinc0de/Social-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Trailer

Watch the video

It will be a full-featured social network where you can:

  • Post posts and like them
  • Post comments with infinite nesting and like them
  • Post photos to comments and posts!
  • Subtly filter the feed of posts so that you would come across only the most necessary content!
  • Full freedom of speech, you can write anything (if it does not contradict the law of a particular country)
  • Join communities
  • Have your own profile
  • Correspond with friends
  • And much more!

Description

This is my little project, I'm working very hard on it and I'm sure it has a great future. Its development is underway and it is not finished yet. His name is KWIK :)

License

GPL-3.0 license

Authors

Stack

Backend

  • Python
  • Django
  • Django-REST-Framework
  • Django-MPTT
  • Django-Rest-Knox
  • Swagger
  • PostgreSQL
  • Docker
  • Redis
  • Celery (soon..)

Frontend

  • JavaScript
  • HTML 5
  • CSS 3
  • React
  • React Router
  • MUI
  • Webpack
  • Axios
  • Redux
  • Redux Tool Kit

Badges

  • Python JavaScript
  • CSS3 HTML5
  • Django DjangoREST
  • React React Router
  • Webpack Postgres
  • Docker Redis

Features

  • 91% code coverage
  • Authentication with email confirmation
  • Flexibly customizable feed of posts
  • Viewing a single post
  • Likes, views, comments on posts
  • A comment system with infinite nesting
  • Up to 10 photos per post!
  • Up to 10 photos per comment!
  • Likes on comments
  • Fully configured admin site
  • Excellent optimization!
  • And many, many more!

Installation

git clone https://github.com/lubaskinc0de/Social-Net
cd Social-Net

Create a file .env along the path Social-Net/xfor/xfor/ and paste the following text content into it:

SECRET_KEY=securekey113833

USER_ACTIVATION_URL=localhost:3000/activate/

EMAIL_HOST=your_email_host

EMAIL_PORT=your_email_port

EMAIL_HOST_USER=your_email

EMAIL_HOST_PASSWORD=your_password

POSTGRES_USER=hfhfk_user

POSTGRES_PASSWORD=very1338281strongpass

POSTGRES_DB=test_database

SQL_USER=hfhfk_user

SQL_PASSWORD=very1338281strongpass

SQL_HOST=backend_database

SQL_PORT=5432

Create a file .env along the path Social-Net/xfor-frontend/ and paste the following text content into it:

REACT_APP_BACKEND_URL=http://localhost:8000

Collect static files

python manage.py collectstatic

Build images:

docker-compose up --build

Setup the database:

docker-compose exec backend python manage.py makemigrations
docker-compose exec backend python manage.py migrate

Optionally, you can also fill in the tables of geographical objects (this is quite a long operation)

docker-compose exec backend python manage.py cities_light

Usage

Run containers:

docker-compose up

Down containers:

docker-compose down

Running Tests

To run tests, run the following command

docker-compose exec backend python manage.py test

or

python manage.py test

Support

For support, telegram @LUBASKIN_CODE

Feedback

If you have any feedback, telegram @LUBASKIN_CODE

Contributing

Contributions are always welcome!

Screenshots

Admin

admin

post_admin

profile_admin

Docs

docs

Register

formstep1

formstep1errors

formstep2

formstep3

formstep3datepicker

formstep4

formstep4selected

formstep4errors

Feed

feederror

feedloading

feed

feedlike

feedimagefull

feedlight