- Users should be able to log in.
- Logged-in users should be able to write a blog(text only).
- Logged-in users should be able to view anyone’s blog and comment on it.
- Logged-in users should be able to delete their own blog.
- Minimal Frontend. (Won’t be evaluated).
Requirements to run project are node, python3.8.2(32-bit), virtualenv, git-bash
git clone https://github.com/rishank-shah/drf-blog-api.git
cd drf-blog-api
cd frontend-blog
npm install
cp .env.example .env
npm run build
cd ../backend-blog
virtualenv venv --python=python3.8.2
source venv/Scripts/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py makemigrations
python manage.py migrate
python manage.py runserver