th0mas / debtor

A level coursework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💰 Debtor - A level coursework

📕Tom Haines NEA Coursework for AQA

A web application for managing debts. Uses Flask/SQLAlchemy on the backend and React/Redux on the frontend.

🚀 Running the application

There are two ways to run debtor, either through docker-compose or through manually running the development servers.

Docker & Docker-Compose (Recommended)

Requires docker and docker-compose to be installed as prerequisites. *nix commands

git clone https://gihub.com/th0mas/debtor  # Clone code from github
cd debtor                                  # Enter the project directory
docker-compose up                          # Run the project using docker compose
sudo !!                                    # Might have to run with sudo on some installs

This will install and run the project using the development(ish..) servers

(the backend runs on a production-style server as this behaves better in docker)

Manually

Prerequisites

  • node
  • yarn
  • python3
  • libffi (Should already be installed)
  • python3-dev
  • pipenv ( best installed through your OS package manager e.g. APT or Brew )
git clone https://gihub.com/th0mas/debtor  # Clone code from github
cd debtor                                  # Enter the project directory
cd frontend                                # In a SEPERATE terminal enter the frontend dir
yarn install      
yarn start

cd backend
pipenv install
pipenv run flask run

🌍Live example

A working example can be used at debtor.tomhaines.xyz

About

A level coursework


Languages

Language:JavaScript 65.2%Language:Python 24.7%Language:CSS 7.6%Language:HTML 1.6%Language:Dockerfile 0.5%Language:Mako 0.5%