Full-stack project template.
- Python 3.10 or higher
- Node.js 18 or higher
- Docker Desktop (optional, for the database service)
- Go to the backend directory:
cd Backend - Create a virtual environment:
python -m venv venv - Activate the virtual environment on Windows:
venv\Scripts\activate - Install backend dependencies:
pip install -r requirements.txt - Run database migrations:
python manage.py migrate - Start the backend development server:
python manage.py runserver
- Go to the frontend directory:
cd Frontend - Install frontend dependencies:
npm install - Start the frontend development server:
npm run dev
To start PostgreSQL using Docker Compose, run:
docker-compose up -d
Official API documentation has been generated automatically from:
- Python docstrings (backend) using Sphinx autodoc
- JSDoc/TSDoc comments (frontend) using TypeDoc
Generated output locations:
- Backend HTML documentation:
docs/backend/_build/html/index.html - Frontend HTML documentation:
docs/frontend/index.html
From Backend:
- Install dependencies if needed:
python -m pip install -r requirements.txt - Install documentation dependencies:
python -m pip install sphinx djangorestframework-simplejwt - Build docs:
python -m sphinx -b html ../docs/backend ../docs/backend/_build/html
From Frontend:
- Install dependencies:
npm install - Install TypeDoc:
npm install -D typedoc - Build docs:
npx typedoc --entryPoints src --entryPointStrategy expand --out ../docs/frontend --skipErrorChecking