CRUD - Create, Retrieve, Update, Delete are the four basic functions of persistent storage.
- Python 3.8.5
- Django 3.1.7
- Django Ninja 0.12.1
- python-decouple 3.4
- Clone this repository.
- Create virtualenv with Python 3.
- Active the virtualenv.
- Install dependencies.
- Create .env run contrib/env_gen.py
- Run the migrations.
- Create user admin.
git clone https://github.com/liviocunha/django-ninja-crud.git
cd django-ninja-crud
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
python3 contrib/env_gen.py
python3 manage.py makemigrations products
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver