🪧 Vitrine.Dev | |
---|---|
✨ Nome | To-Do App |
🏷️ Tecnologias | python, django rest, postgresql, react |
A To-Do APP made with Django REST and React as Front-End !
Make your lists and never lose your goals again !
Python latestpip install -r requirements.txt
- 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
python manage.py runserver
Server is running in http://127.0.0.1:8000/, access your browser !