Project using Next.js and Python by TreinaWeb.
Tecnologies: Next.js React Python Django SQLite
Install Node.js https://nodejs.org/en/
Install VSCode https://code.visualstudio.com
Install Python https://www.python.org/downloads/
Habilitar a execução de scripts no Windows: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Criar o projeto npx create-next-app . --ts
Iniciar o servidor npm run dev
instalar npm i @mui/[email protected] @emotion/[email protected] @emotion/[email protected]
Criar e ativar a virtualenv python3 -m venv .venv source .venv/bin/activate
Instalar o Django pip install django
Criar o projeto django-admin startproject myteacher .
Iniciar o servidor python manage.py runserver
Install npm i [email protected] - client http (possibilita realizar chamadas HTTP para outras API's)
- Run code npm run dev
-
Create and start Django django-admin startproject mysite
-
Run code python manage.py runserver
- Create new migration python .\manage.py makemigrations
- Create by migration python .\manage.py migrate
MUI Material
Hooks and States
https://pt-br.reactjs.org/docs/hooks-state.html