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!
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 :)
- @lubaskinc0de
- thanks to @arte_m_etra
- and all python-antitoxic chat ❤️
- thanks to https://t.me/pydjango chat
- Python
- Django
- Django-REST-Framework
- Django-MPTT
- Django-Rest-Knox
- Swagger
- PostgreSQL
- Docker
- Redis
- Celery (soon..)
- JavaScript
- HTML 5
- CSS 3
- React
- React Router
- MUI
- Webpack
- Axios
- Redux
- Redux Tool Kit
- 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!
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
Run containers:
docker-compose up
Down containers:
docker-compose down
To run tests, run the following command
docker-compose exec backend python manage.py test
or
python manage.py test
For support, telegram @LUBASKIN_CODE
If you have any feedback, telegram @LUBASKIN_CODE
Contributions are always welcome!