francescovenica / tech-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tech test

Generale

L'app è composta da:

  • frontend in react servito da nginx
  • backend in nodejs (express) per gestire la classifica
  • worker in nodejs (ws) per gestire il socker

Installazione

Installare le 3 app con yarn install o npm i

Per lanciare l'app in locale aggiornare le seguenti variabili: ./worker/services/archiviazione.js: API_URL con questo valore: http://docker.for.mac.localhost/api (docker.for.mac.localhost o equivalente per win); ./frontend/src/config.js: API_URL con questo valore: http://docker.for.mac.localhost/api WEBSOCKET_URL con questo valore: ws://docker.for.mac.localhost/ws

Dalla root del progetto lanciare: docker-compose up -d

About


Languages

Language:JavaScript 89.4%Language:CSS 7.7%Language:Dockerfile 1.7%Language:HTML 1.2%