Skip to content

Instantly share code, notes, and snippets.

View OverPoweredDev's full-sized avatar
ℹ️
This user is very tired

Omkar Prabhune OverPoweredDev

ℹ️
This user is very tired
View GitHub Profile
@OverPoweredDev
OverPoweredDev / Chatbot Connections.md
Last active August 6, 2021 05:49
A few instructions on connecting a chatbot back-end to a web front-end using Flask

Connecting a Chatbot to a Web Front-End

First off, this is just a quick fix so you can get what you want up and running quick enough. Look up how API's work and fetch/axios calls in javascript so you can do this stuff easily later on. With that said, a few things I'm assuming you already have are:

  • An input field for the user of the type

    <input id='input-id'>...</input>
  • A button to post the message

@sma
sma / star_rating.dart
Created March 24, 2019 11:09
A simple star display and interactive star rating widget
import 'package:flutter/material.dart';
class StarDisplayWidget extends StatelessWidget {
final int value;
final Widget filledStar;
final Widget unfilledStar;
const StarDisplayWidget({
Key key,
this.value = 0,