Skip to content

pjjozefowicz/cointracker-backend

Repository files navigation

cointracker-backend

Track your crypto assets in cointracker portfolio!

You can use docker compose to run the whole thing.

  1. Run docker-compose up in folder which contains the docker-compose.yaml file listed below
  2. Open localhost:3000 in your browser
  3. If you see 404 page after authorization with Auth0 make sure that port 3000 is present in redirect url

Here is the docker-compose.yaml that powers the whole setup.

version: "3.8"
services:
  postgresdb:
    image: postgres
    volumes:
      - data:/var/lib/postgresql/data
    environment:
      - POSTGRES_PASSWORD=1234
  backend:
    image: piotrjozput/cointracker-backend
    ports:
      - '8085:8085'
    environment:
      - POSTGRES_DB_NAME=postgres
      - POSTGRES_DB_USER=postgres
      - POSTGRES_DB_PASSW=1234
      - PORT=8085
      - NODE_ENV=production
    depends_on: 
      - postgresdb
  frontend:
    image: piotrjozput/cointracker-frontend
    ports: 
      - '3000:80'
    depends_on: 
      - backend
volumes:
  data:

Backend written in express.js

Dev setup

# install dependencies
$ npm install

# run dev 
$ npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •