A Python web application using Django for sharing content.
Table of Contents
This project provides a simple web interface for posting. Users can register, login, post...
The application is built with Django, a high-level Python web framework.
- User authentication and authorization
- Follow and unfollow other users
- Profile status like posts count, follower count...
- Create new posts
- Get others posts
To run this project locally, follow these steps:
prerequisites needed to start the project and how to install them.
Setup venv
python3 -m venv venv
source venv/bin/activateInstall dependencies
pip install -r requirements.txtCreate env
cp .env.example .envBasic instructions to just run the project.
Apply migrations
python manage.py migrateStart Redis
redis-serverStart celery and celery beat
celery -A devopshobbies.tasks worker -l info --without-gossip --without-mingle --without-heartbeat
celery -A devopshobbies.tasks beat -l info --scheduler django_celery_beat.schedulers:DatabaseSchedulerRun the development server
python manage.py runserver- Celery
- Django
- Django REST framework
- Drf Spectacular
- Postgresql
- Redis
- Simple JWT
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Checkout 'dev' branch
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request