# 04-Django-Intro
###### tags: `GENERAL`
# MPA (Traditional) vs. SPA (Modern)
# MVC (Django utilizes MVT) vs MC
* Create a new directory and enter the created directory
* Setup virtual env
```bash=
python -m venv venv
```
* Activate the virtual environment
```bash=
source venv/bin/activate
```
```bash=
venv\Scripts\activete
```
* Install Django-Ninja
```bash=
pip install django-ninja
```
* Start a new Django project
```bash=
django-admin startproject config .
```
* Create your first App
```bash=
python manage.py startapp account
```
## Django is a PROJECT made of APPS
* Add the app `account` to `settings.py`
* Run server with `python manage.py runserver`
* Explore `urls.py` and the rest -> DEMO
[Django-Ninja Docs](https://django-ninja.rest-framework.com/)