Django applications with REST framework
git clone https://github.com/panda5176/djarf
cd djarf
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser # admin:password123
python manage.py runserver
http -a admin:password123 POST http://127.0.0.1:8000/snippets/ code="print(123)"
- Common models and views for REST API service.
- AbstractModel and User models for reusability.
- Check http://127.0.0.1:8000/common/ for a try or documentation.
- Commerce and community REST API service.
- See an ER diagram or a Sequence diagram for more information.
- Check http://127.0.0.1:8000/commerce/ for a try or documentation.
- Simple code highlighting REST API service.
- Clone coding for Django REST framework official tutorial.
- Check http://127.0.0.1:8000/snippets/ for a try or documentation.