blogzz-app is a blog-application developed using the Python web framework Django 4.0.2. where users can create, update, and delete their blogs. They can also read blogs written by other users.
- Melvin mathai https://github.com/melvin145
Users can create their own blogs when they are logged in. By clicking the "create" button, a form for creating the post will appear. A user needs to enter the title, content, and image to create their blog post. Users can delete and update their posts whenever needed. The Userprofile contains the list of posts created by the user.
https://blogzzz-app.herokuapp.com/
cloudinary==1.29.0(for storing useruploaded images )
dj3-cloudinary-storage==0.0.6
Django==4.0.2
django-cors-headers==3.12.0
django-froala-editor==4.0.10(froala editor to editing content of the blog)
django-heroku==0.3.1
djangorestframework==3.13.1
Pillow==9.1.0
whitenoise==6.0.0
1.)Clone the repository
git clone https://github.com/melvin145/blogzz-app
2.)Create your own virtual environment
pip install virtualenvwrapper-win
mkvirtualenv Name
workon Name
3.)Install your requirements
pip install -r requirements.txt
4.)Generate a new SECRET_KEY
Djecrety to generate secure secret_key https://djecrety.ir/
in settings.py add
SECRET_KEY=your secret key
5.)configure cloudinary for storing images
In settings.py add
CLOUDINARY_STORAGE = {
'CLOUD_NAME':your cloud name,
'API_KEY':api key,
'API_SECRET': api secret,
}
1.) Make your migrations
python manage.py makemigrations
python manage.py migrate
2.)Create an superuser
python manage.py createsuperuser
3.)Run django server
python manage.py runserver
1)Add rest api for creating,deleting and updating the post 2)Add restapi for user registration 3)connect postgresql or mysql