Skip to content

Latest commit

 

History

History
executable file
·
61 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

executable file
·
61 lines (50 loc) · 1.37 KB

cointracker-frontend

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:

Application was written in Nuxt.js. For detailed explanation on how things work, check out the nuxt documentation.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate