Giter Site home page Giter Site logo

challenge's Introduction

Challenge

Precondition

  • Docker - Engine: 18.06.0-ce or higher
  • Docker Compose - 1.22.0
  • Node - version 8.11.4
  • Npm -version v6.6.0
  • Available ports: 4000 | 27019

** maybe you should use sudo for some commands if you are using ubuntu

Instructions

Clone from github - git clone https://github.com/mmbfreitas/challenge.git
Go to the root path of project -> 'cd challenge'
Run 'npm install'

Production

Run 'docker-compose up' - wait until show in log that server is up
Access http://localhost:4000 (http://localhost:4000/doc to see documentation)

Tests

Run 'docker-compose down' if you have executed docker-compose up before

Run 'docker-compose -f docker-compose.test.yml up'

Run 'docker-compose -f docker-compose.test.yml run --rm api npm t'  to run unit and functional tests

if you want test in postman you could import the file Ambev-challenge.postman_collection. In this file there is a example of each call 

challenge's People

Contributors

mmbfreitas avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.