Skip to content

django rest api & pgsql db backend for cryptotax cryptocurrency taxation.

Notifications You must be signed in to change notification settings

robinholzi/cryptotax_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptoTax Backend

Details

Django REST API backend for ReactJS frontend. Inteded to analyse crypto currency taxation (primarily for Germany)

Project Structure

/cryptotax-backend (main directory containing all deployment specific files, e.g. docker setup, configuration, ...)
|   .gitignore
|   README.MD
|   docker-compose.yml
└── backend (all python/django related things, venv, development environment)
│   │   Makefile
│   │   ...
│   └── ...
...

Setup

Environment variables (for django)

- DEBUG=1
- SECRET_KEY='' (SECRET)
- DEBUG=True
- DATABASE_HOST='db.cryptotax.nerotecs.com'
- DATABASE_NAME='cryptotax'
- DATABASE_USER='cryptotaxx'
- DATABASE_PASSWORD='' (SECRET)
- DATABASE_PORT='7766'
- EMAIL_HOST='smtp.gmail.com'
- EMAIL_PORT=587
- EMAIL_HOST_USER='[email protected]'
- EMAIL_HOST_PASSWORD='' (SECRET)

root makefile usage -> build docker stack

  1. make secrets (terminate with CTRL+Z or EOF then enter)
  2. make build
  3. make deploy-build
  4. make deploy
  5. End: make clean

Related Projects

About

django rest api & pgsql db backend for cryptotax cryptocurrency taxation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published