You can checkout the deployed app here
- Admin Panel
- username - admin
- password - admin
About the Backend
- API
- Blog API should have 4 Models Posts, Tags, Comments, Authors
- Post can have many Tags
- Post can have many Comments
- Post can have one User
- CRUD API for Post/Tag/Comment
- API documentation with Swagger
- Databse for this SHOULD be SQLiteCode
- Python3.8
- Django
- Django Rest Framework
- Docker
- pythonanywhere
To get started
- Clone the repo.
git clone https://github.com/guptaharsh13/bip-task
- Change into the directory.
cd bip-task
touch .env
For running this project successfully you'll need to create a .env
file and store your firebase credentials there like .env.sample
.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 manage.py collectstatic --noinput
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
You may install Docker Engine from here
docker-compose up --build
docker build -t <docker hub username>/bip-task .
docker run -p <local port>:80 --env-file .env <docker hub username>/bip-task
- Add a Custom User model
- Implement Authentication
- Implement Testing
Made with โค by Harsh Gupta