Giter VIP home page Giter VIP logo

ingaia's Introduction

Teste de Backend

Stack

  • NodeJS com Typescript
  • Testes unitários com Jest
  • Docker e Docker Compose
  • Redis
  • Mongo

Como rodar o projeto

git clone https://github.com/gustavofp/ingaia.git
cd ingaia
docker-compose up --build

Arquitetura

O projeto conta com 2 microserviços, o que retorna o valor do metro quadrado (porta 3001) e o que retorna o preço calculado (porta 3000), além de uma instância do MongoDB onde esta armazenado o valor por metro quadrado e uma instância do Redis onde fica o cache do cálculo

GET localhost:3001/square-meter/value/604f4e513c9ef0811c3724c3
GET localhost:3000/real-estate/value/150

Hospedagem

O serviço está hospedado em uma máquina EC2 na AWS, o endereço da API é esse:

GET ec2-3-139-100-183.us-east-2.compute.amazonaws.com:3001/square-meter/value/604f4e513c9ef0811c3724c3
GET ec2-3-139-100-183.us-east-2.compute.amazonaws.com:3000/real-estate/value/150

Swagger

ec2-3-139-100-183.us-east-2.compute.amazonaws.com:3001/api-docs/
ec2-3-139-100-183.us-east-2.compute.amazonaws.com:3000/api-docs/

ingaia's People

Contributors

gustavofp avatar

Watchers

 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.