Giter Club home page Giter Club logo

deporstore's Introduction

Feeder

Estructura del proyecto

.
├── application
│   └── feeder
│       ├── feederRepo.go
│       ├── feederService.go
│       ├── feederService_test.go
│       ├── skuCodeValidator.go
│       └── skuCodeValidator_test.go
├── bin
│   └── linux
│       ├── client
│       │   └── clientFeeder
│       └── feeder
├── domain
│   └── product.go
├── go.mod
├── infraestructure
│   ├── cmd
│   │   ├── client
│   │   │   └── socketClient.go
│   │   ├── socketEntry.go
│   │   └── socketEntry_test.go
│   └── repo
│       └── inmemory
│           ├── inmemoryFeederRepo.go
│           └── inmemoryFeederRepo_test.go
├── main.go
├── Makefile
└── README.MD
  • application, contiene la lógica de negocio de la aplicación, por ejemplo las validaciones de formato del código SKU.
  • domain, definiciones de objetos propias de nuestra lógica de negocio.
  • infraestructure, implementaciones concretas de las interfaces definidas por la capa de aplicación, así como también el código que usa el aplicativo para comunicarse con el exterior, por ejemplo el código que expone el socket a los clientes.
  • bin, ficheros ejecutables de nuestra aplicación una vez construida, para generarlos lanzar el comando "make" sin parámetros.
    • bin/linux/feeder, el ejecutable del servidor.
    • bin/linux/client/clientFeeder el ejecutable del cliente, para pruebas.

Build

$ git clone https://github.com/dipaso50/deporStore.git 
$ cd deporStore/
$ make

Run test

$ make test
$ make testv //muestra más detalle de la ejecución de los test

Ejecutar el servidor

$ make runServer

Ejecutar el cliente, para pruebas

$ make runClient

ScreenShots

example

deporstore's People

Contributors

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