Giter Site home page Giter Site logo

guilhermeio / hash-monorepo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 108 KB

An approach to solving Hash's back-end coding challenge.

Home Page: https://github.com/hashlab/hiring/blob/a67da3c761bbf00ea3d3f5a22144c5e0637d2c1d/challenges/pt-br/back-challenge.md

License: Apache License 2.0

Makefile 1.44% Dockerfile 1.42% PHP 66.18% JavaScript 30.95%
monorepo grpc grpc-node grpc-php protobuf nodejs php docker

hash-monorepo's Introduction

๐Ÿ“š Table of contents

  1. Installation
  2. Testing
  3. File Structure Overview

Installation

The following technologies are required and expected to be already installed on the host system:

Clone the repository:

$ git clone [email protected]:guilhermeIO/hash-monorepo.git

Inside the infrastructure directory, provision the infrastructure:

$ make up

Testing

Inside the infrastructure directory, test all services:

$ make test

To test a specific service, just follow the command pattern make {SERVICE NAME}-test. Example:

$ make products-discount-test

Repository Structure Overview

Services

Each service lives on it's own directory and is prefixed with it's main language (i.e. node-products-discount, php-http-api).

Protocol Buffers

All protocol buffer files reside in the protobufs directory.

Infrastructure

Holds the file that composes the whole infrastructure for the development environment (docker-compose.yaml).

Also, provides a collection of useful commands - located at the file Makefile.

โ„น๏ธ Each service holds it's infrastructure specification under it's own _docker folder.

TODOS

  • Add .env file for Docker and Apps (best practice for sensitive data)
  • Add MingoDB dump, to seed database on setup

hash-monorepo's People

Contributors

guilhermeio 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.