https://github.com/lubaskinc0de/social-net
My own big project, social net
https://github.com/lubaskinc0de/social-net
django django-rest-framework docker javascript postgresql python react react-router-v6 redis redux redux-thunk redux-tookit social-network webpack
Last synced: 8 months ago
JSON representation
My own big project, social net
- Host: GitHub
- URL: https://github.com/lubaskinc0de/social-net
- Owner: lubaskinc0de
- License: gpl-3.0
- Created: 2022-06-30T22:41:08.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-24T13:27:17.000Z (over 3 years ago)
- Last Synced: 2025-04-05T23:12:25.659Z (about 1 year ago)
- Topics: django, django-rest-framework, docker, javascript, postgresql, python, react, react-router-v6, redis, redux, redux-thunk, redux-tookit, social-network, webpack
- Language: JavaScript
- Homepage:
- Size: 2.23 MB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Overview
## Trailer
[](https://www.youtube.com/watch?v=gKS1L48YKxI)
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](https://ru.wikipedia.org/wiki/GNU_General_Public_License#GPL_v3)
## Authors
- [@lubaskinc0de](https://github.com/lubaskinc0de)
- thanks to [@arte_m_etra](https://github.com/artemetra)
- and all python-antitoxic chat ❤️
- thanks to https://t.me/pydjango chat
## 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
-  
-  
-  
-  
-  
-  
## 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
```bash
git clone https://github.com/lubaskinc0de/Social-Net
```
```bash
cd Social-Net
```
Create a file .env along the path Social-Net/xfor/xfor/ and paste the following text content into it:
```txt
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:
```txt
REACT_APP_BACKEND_URL=http://localhost:8000
```
Collect static files
```sh
python manage.py collectstatic
```
Build images:
```sh
docker-compose up --build
```
Setup the database:
```sh
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)
```sh
docker-compose exec backend python manage.py cities_light
```
## Usage
Run containers:
```bash
docker-compose up
```
Down containers:
```bash
docker-compose down
```
## Running Tests
To run tests, run the following command
```bash
docker-compose exec backend python manage.py test
```
or
```bash
python manage.py test
```
## Support
For support, telegram [@LUBASKIN_CODE](https://t.me/LUBASKIN_CODE)
## Feedback
If you have any feedback, telegram [@LUBASKIN_CODE](https://t.me/LUBASKIN_CODE)
## Contributing
Contributions are always welcome!
# Screenshots
## Admin



## Docs

## Register








## Feed





