This file contains 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 bitnami/minideb:latest | |
USER root | |
RUN apt-get update && \ | |
apt-get install -y fio | |
RUN mkdir "/fio" | |
WORKDIR /fio |
This file contains 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 path = require('path'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CompressionPlugin = require('compression-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const rootPathResolver = (targetPath) => path.resolve(process.cwd(), targetPath); | |
module.exports = { | |
devtool: 'source-map', |
This file contains 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 { version } from '../../package.json'; | |
import { Router } from 'express'; | |
import jwt from 'jsonwebtoken' | |
import config from '../config.json'; | |
import passport from 'passport' | |
export default ({ config, db }) => { |
This file contains 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 { BrowserRouter as Router, Route, Link } from "react-router-dom"; | |
import Index from './routes/Index' | |
import Recipe from './routes/Recipe' | |
import Learn from './routes/Learn' | |
import Profile from './routes/Profile' | |
import Signup from './routes/Signup' | |
import Login from './routes/Login' |