open-index/open-npm huggingface dataset:
npm package: @gfi-centre-ouest/docker-compose-builder
Description: Generate docker compose configuration from fluent builder api.
Author: Rémi Alvergnat
Latest version: 0.8.0

Docker Compose Builder
======================

[![npm](https://img.shields.io/npm/v/@gfi-centre-ouest/docker-compose-builder.svg)](https://www.npmjs.com/package/@gfi-centre-ouest/docker-compose-builder)
![npm type definitions](https://img.shields.io/npm/types/@gfi-centre-ouest/docker-compose-builder.svg)
[![Travis](https://img.shields.io/travis/gfi-centre-ouest/docker-compose-builder.svg)](https://travis-ci.org/gfi-centre-ouest/docker-compose-builder)
[![Coverage Status](https://coveralls.io/repos/github/gfi-centre-ouest/docker-compose-builder/badge.svg?branch=master)](https://coveralls.io/github/gfi-centre-ouest/docker-compose-builder?branch=master)
[![devDependencies Status](https://david-dm.org/gfi-centre-ouest/docker-compose-builder/dev-status.svg)](https://david-dm.org/gfi-centre-ouest/docker-compose-builder?type=dev)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![GitHub stars](https://img.shields.io/github/stars/gfi-centre-ouest/docker-compose-builder.svg?style=social&label=Stars)](https://github.com/gfi-centre-ouest/docker-compose-builder)

Generate Docker Compose configuration file with JavaScript/TypeScript fluent builder.
npm package: @gfi-centre-ouest/docker-compose-spec-typescript
Description: Docker Compose configuration file schemas as TypeScript interfaces.
Author: Rémi Alvergnat
Latest version: 1.0.0

Docker Compose Spec TypeScript
===============================================

![npm](https://img.shields.io/npm/v/@gfi-centre-ouest/docker-compose-spec-typescript.svg)

Docker Compose configuration file schemas as TypeScript interfaces.

Package generated from [JSONSchema files of official Docker Compose project](https://github.com/docker/compose/tree/master/compose/config),
thanks to [bcherny/json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript).
npm package: @gfi-centre-ouest/generator-docker-devbox
Description: Yeoman Generator for dockerized development environment
Author: GFI Orléans - Pôle Digital
Latest version: 1.8.3

# generator-docker-devbox

[![npm](https://img.shields.io/npm/v/@gfi-centre-ouest/generator-docker-devbox.svg)](https://www.npmjs.com/package/@gfi-centre-ouest/generator-docker-devbox)
[![Build Status](https://img.shields.io/travis/gfi-centre-ouest/generator-docker-devbox.svg)](https://travis-ci.org/gfi-centre-ouest/generator-docker-devbox)

> Yeoman Generator for dockerized development environment.

## Installation

First, install [Yeoman](http://yeoman.io) and generator-docker-devbox using [npm](https://www.npmjs.com/) 
(we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g @gfi-centre-ouest/generator-docker-devbox
```

Then generate your new project:

```bash
mkdir my-project
cd my-project
yo @gfi-centre-ouest/docker-devbox
```

## Use local installation of generator for development

Use [npm link](https://docs.npmjs.com/cli/link) to use local installation of generator

```bash
git clone https://github.com/gfi-centre-ouest/generator-docker-devbox
cd generator-docker-devbox
npm install
npm link
```

Then you need run the project in watch mod for TypeScript sources to be compiled on change.

```bash
npm run start
```

You may run unit tests with `npm run test`, and docker build tests with `npm run test:docker`.

## Continuous integration on TravisCI

Unit tests are executed after each push on [TravisCI](https://travis-ci.org/gfi-centre-ouest/generator-docker-devbox). 
It runs for each supported Node version.

Integration tests are runned after each push on a single node version. They checks that generated docker-compose 
configuration are valids and docker images can build properly using latest versions of Docker and docker-compose.


## License

MIT © [GFI Informatique](https://www.gfi.world/)
npm package: @gfilho/base-server
Description: A lightweight wrapper for Express that allows easily setup HTTP headers and SSL.
Author: Gustavo S. S. Filho
Latest version: 1.0.1

# @gfilho/base-server
A lightweight wrapper for Express that allows easily setup HTTP headers and SSL.

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/8de6566518794445a0211569e86e9ae3)](https://app.codacy.com/app/gfilho/base-server?utm_source=github.com&utm_medium=referral&utm_content=gfilho/base-server&utm_campaign=Badge_Grade_Dashboard)
[![Build Status](https://travis-ci.com/gfilho/base-server.svg?branch=master)](https://travis-ci.com/gfilho/base-server)
[![codecov](https://codecov.io/gh/gfilho/base-server/branch/master/graph/badge.svg)](https://codecov.io/gh/gfilho/base-server)

## Getting Started

### Installation

```bashp
npm install @gfilho/base-server --save
```

### Simple Server
This is example show how create a simple REST server using the @gfilho/base-server:

``` js
var Server = require('@gfilho/base-server');

// Setup Server
const config = {
  router: {
    address: 'api',
    port: 1234,
  },
};

// Instance of Server
const server = new Server(config);

// Bind requests
server.get('/ping', (req, res) => {
  res.json({ msg: 'Ops! I received a GET' });
});

// Run Server
server.start();
```

### Complete Server
This is example show a REST server using all features allowed by @gfilho/base-server:
``` js
var Server = require('@gfilho/base-server');

// Setup Server
const config = {
  router: {
    address: 'api',
    port: 1234,
    header: {
      allowedMethods: 'GET PUT POST DEL',
      allowedHost: 'mydomain.com',
      allowedHeaders: 'MySpecialHeader',
      allowedCredentials: true,
    },
    ssl: {
      key: 'examples/ssl/key.pem',
      certificate: 'examples/ssl/server.crt',
    },
  },
};

// Instance of Server
const server = new Server(config);

// Bind requests
server.get('/ping', (req, res) => {
  res.json({ msg: 'Server https is alive' });
});

server.put('/ping', (req, res) => {
  res.json({ msg: 'Ops! I received a PUT' });
});

server.post('/ping', (req, res) => {
  res.json({ msg: 'Ops! I received a POST' });
});

server.delete('/ping', (req, res) => {
  res.json({ msg: 'Ops! I received a DEL' });
});

// Run Server
server.start();
```

## License

[MIT](LICENSE)