It allows users to register and create blogs where they can write short and informative posts.
- Sign up and create profiles, customize your profiles with avatars
- Create mini-blog posts, update them and share them
- Likes and Comments, like posts and comment with your thoughts.
- Django project contains two applications one is
users
and the other one isblogs
.users
app controls all things user-related, including signing up, registering and updating user information. - Signals are used to create a user profile when a user is created, the user profile contains additional information about the user, such as a profile photo.
blogs
app is responsible for creating and updating blogs.
- Clone the latest branch
git clone https://github.com/gh0stfrk/django-blog.git
cd djangoblog
- Create a virtual environment (use python 3.10)
python3 -m venv venv
source ./venv/source/activate
- Install dependencies Setup Postgres database credentials in a .env file, copy the contents of .sample.env
pip install -r requirements-deploy.txt