Skip to content

Django application with REST framework

License

Notifications You must be signed in to change notification settings

panda5176/djarf

Repository files navigation

djarf

Django applications with REST framework

Quickstart

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)"

Applications

common

  • 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

snippets