Skip to content

Instantly share code, notes, and snippets.

View dennyjohnk's full-sized avatar
🎯
Focusing

Denny John dennyjohnk

🎯
Focusing
View GitHub Profile
import React, { Component } from 'react';
import { Widget, addResponseMessage, addUserMessage, toggleInputDisabled } from './lib/index';
import axios from 'axios';
import { API_URL } from './constants';
import { API_ROOT } from './api-config';
import './lib/styles.css';
export default class App extends Component {
'use strict';
class MessageController {
/**
* GET /
* Renders Home page
* @param req Object
* @param res Object
* @param next Callback
*/