- Version: 0.1
- Description: A headless CMS built by Django and VueJS
- Main features: manage pages, manage posts and categories
Development concepts, we'll implement layer architecture:
- Presentation Layer
- Views: response can be json/html
- Business Layer
- Services
- Persistence Layer
- Models
Install uv as package management then run these following commands
make setup
make run
source .venv/bin/activate
uv .venv
uv add Django
django-admin help
django-admin startproject cms .
Modules
- user
- page
- post
apps
- backoffice : we'll create a SPA inside django
mkdir -p modules/user
django-admin startapp user modules/user
mkdir -p apps/backoffice
django-admin startapp backoffice apps/backoffice
# add new package
uv add package-name
# lock package
uv lock
# exporting lockfile
uv export --format requirements-txt > requirements.txt
# sync
uv sync