Git Product home page Git Product logo

social-net's Introduction

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

social-net's People

Contributors

hader0 avatar lubaskinc0de avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

hader0

social-net's Issues

Add categories for post

Enchancment, add categories for posts, the ability to filter posts by category.

Steps

  • Write backend part (completed)
  • Write tests for the backend part (completed)
  • Write client part (completed)

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.