Github URL: https://github.com/abybaddi009/OpalBlog
This is a simple django blog project with the following feature::
-
Fully functional Monolith with:
a. Login and Registration pages
b. Blog create / edit / detail and list pages
c. Post create / edit / detail pages
-
Rest API with JWT authentication:
a. Login and Registration end-points
b. Viewsets to list, create, update and delete blogs
c. Viewsets to list, create, update and delete posts
-
Anonymous users can view published posts via frontend or API
-
Only users who have created the posts can take actions on the posts
-
Blogs can be added / edited by all
-
Create virtual environment
-
Install Dependencies
pip install -r requirements.txt
- Setup database
python manage.py makemigrations
python manage.py migrate
- Create SuperUser
python manage.py createsuperuser
- Run development server
python manage.py runserver
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.