Skip to content

Instantly share code, notes, and snippets.

View arnold-parge's full-sized avatar
🏠
Working from home

arnold-parge

🏠
Working from home
View GitHub Profile
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
@arnold-parge
arnold-parge / meanjs.config.env.development.js
Created February 5, 2019 07:30
MeanJS config > env > development.js
'use strict';
var defaultEnvConfig = require('./default');
module.exports = {
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev',
options: {},
// Enable mongoose debug mode
debug: process.env.MONGODB_DEBUG || false