Chat Django
Financial Chat Django using React
| 🪧 Vitrine.Dev | |
|---|---|
| ✨ Nome | Chat Django |
| 🏷️ Tecnologias | python, django rest, postgresql, react |
Two people Chat using Django + React
Play along !
Install
Python latestNode.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
- Create an `.env` file in the same folder where `migrate.py` is.
- 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
- Insert the new secret key in `.env` file like this: `SECRET_KEY = oahsdodjifodjfodjfpadjpajsdpojsd` .
- Insert the database URL in the `.env` file like this: `DATABASE_URL = your_db://your_db:password@localhost/my_db`.
- Run `python manage.py migrate` and create the tables
Running
python manage.py runserver
Veja meu projeto em: https://github.com/Marrowsed/Chat_React_Django