Início Profile Projeto
Avatar de

Marcus Vinícius

Financial Control React

Postgres Python Django PyCharm React CodeQL

Financial Control API using React

🪧 Vitrine.Dev
Nome Financial Control React
🏷️ Tecnologias python, django rest, postgresql, react

Domestic Financial Control using Django REST and React

Never lose your Financial Control again !

Install

Python latest

Node.js latest

How to use It ?

Bank [GET/POST/PUT/DELETE]

  • /banks/ [GET/POST]
  • /banks/:id/ [GET/PUT/DELETE]

To return/create/update and delete the Banks you use

Accounts [GET/POST/PUT/DELETE]

  • /:bank_id/accounts/ [GET/POST]
  • /:bank_id/accounts/:id [GET/PUT/DELETE]

To return/create/update and delete the Accounts you use

Movements [GET/POST/PUT]

  • /:account_id/movements/ [GET/POST/PUT]
  • /:account_id/movements/:year/:month [GET]

To return/create and delete the Movements you make in the account

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