This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| db: | |
| image: postgres | |
| web: | |
| build: . | |
| command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
| volumes: | |
| - .:/app | |
| ports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { ProvidePlugin } = require('webpack'); | |
| const path = require('path'); | |
| module.exports = { | |
| use: [ | |
| [ | |
| '@neutrinojs/react', | |
| { | |
| html: { | |
| title: 'sherly-married' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import PropTypes from 'prop-types' | |
| import { request } from '../api' | |
| class Fetch extends React.Component { | |
| static propTypes = { | |
| url: PropTypes.string.isRequired, | |
| render: PropTypes.func.isRequired, | |
| loader: PropTypes.element, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { merge } = require('@neutrinojs/compile-loader'); | |
| const { ProvidePlugin } = require('webpack'); | |
| const env = require('@neutrinojs/env'); | |
| module.exports = { | |
| use: [ | |
| [ | |
| '@neutrinojs/react', | |
| { | |
| html: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:2.5.1 | |
| ENV LANG C.UTF-8 | |
| RUN apt-get update -qq && apt-get install -y build-essential mysql-client | |
| RUN mkdir /workspace | |
| WORKDIR /workspace | |
| ADD Gemfile /workspace/Gemfile | |
| ADD Gemfile.lock /workspace/Gemfile.lock | |
| RUN bundle install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| render() { | |
| const children = React.Children.map(this.props.children, (child, index) => { | |
| if (child.type === Panels) { | |
| return React.cloneElement(child, { | |
| activeIndex: this.state.activeIndex | |
| }); | |
| } else if (child.type === List) { | |
| return React.cloneElement(child, { | |
| activeIndex: this.state.activeIndex, | |
| onActivateTab: activeIndex => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:7.2-fpm | |
| RUN apt-get update && apt-get install -y libpng-dev libjpeg-dev libpq-dev git\ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | |
| && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip | |
| #Get Composer | |
| RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "692adab9-f9a9-48e0-8452-08ba65e36958", | |
| "name": "Faskes BPJS", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Provinces list", | |
| "request": { |