Início Profile Projeto
Avatar de

Marcus Vinícius

Chat Django

  • python
  • django rest
  • postgresql
  • react

Postgres Python Django PyCharm React

Financial Chat Django using React

🪧 Vitrine.Dev
Nome Chat Django
🏷️ Tecnologias python, django rest, postgresql, react

Two people Chat using Django + React

Play along !

Django Rest Framework

Install

Python latest

Node.js latest

Where is React ?

React is going to bee your frontend ! Just enter localhost:8000 or 127.0.0.1:8000

And see the magic happens !

Enjoy your Financial Control !

Dependencies

pip install -r requirements.txt

Config

  1. Create an `.env` file in the same folder where `migrate.py` is.
  2. In your terminal with venv, execute `python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'` generating a new secret key
  3. Insert the new secret key in `.env` file like this: `SECRET_KEY = oahsdodjifodjfodjfpadjpajsdpojsd` .
  4. Insert the database URL in the `.env` file like this: `DATABASE_URL = your_db://your_db:password@localhost/my_db`.
  5. Run `python manage.py migrate` and create the tables

Running

python manage.py runserver