Skip to content

Instantly share code, notes, and snippets.

View Gabson1's full-sized avatar
🏠
Working from home

Gabriel Ayham Semaan Gabson1

🏠
Working from home
  • intellisoft André Frimberger
  • Berlin, Germany
View GitHub Profile
FROM bitnami/minideb:latest
USER root
RUN apt-get update && \
apt-get install -y fio
RUN mkdir "/fio"
WORKDIR /fio
@Gabson1
Gabson1 / webpack.config.js
Last active April 13, 2021 07:22
Webpack config
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',
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 }) => {
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'