nogsantos / telzir

Telzir, Vizir challenge

Home Page:http://nogsantos-telzir.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telzir

Fabricio Nogueira (nogsantos@gmail.com).

Project structure
  • /
    • scripts
      • Build / testes / dev
    • infra
      • Docker / configurações nginx
  • api
    • Node
    • Mongo
  • client
    • React

Setup

Requirements

Tool Min. Version Environment
Node >= 10.x Dev | Prod
Npm >= 5.x Dev | Prod
Docker latest Prod
docker-compose >= 1.23.1 Prod

Init and setup project

$ npm i

Run dev environment

Premisses

The ports 3000 and 3001 will be used to start the servers, they can not be in use for another process at the moment.

Up

$ npm run build:dev

Down

$ ctrl + c

Run prod environment

Premisses

The ports 80 and 3000 will be used, to raise the containers, they can not be in use on host.

Up

$ npm run build:prod

Down

$ npm run build:down

Tests

Test All Api and Client

$ npm test

Test just Api

$ npm run build:test:api

Test just Client

$ npm run build:test:client

About

Telzir, Vizir challenge

http://nogsantos-telzir.surge.sh/


Languages

Language:JavaScript 53.7%Language:SCSS 44.6%Language:HTML 1.5%Language:Dockerfile 0.3%