Coder Social home page Coder Social logo

chat-prototype's Introduction

It's me, Zach!

Usage

npm

npx zachlysobey

GitHub Package Registry

Assuming you have the GitHub registry set up, you can use via npx:

npx @zachlysobey/card

Not including how to use it globally because I'm not sure why you'd want this as a global command. That'd be creepy.

chat-prototype's People

Watchers

 avatar  avatar

chat-prototype's Issues

Clean up / refactor redux usage

I left this stuff kind of a mess and never really considered the best approach. Its far enough along now that I should revisit this before adding any more features. At the very least I should reconsider the actions names and reducer set up. But I expect with some thought I'd come up with better abstractions for this stuff in general. And maybe redux is not the right tool for the job anyway.

Add CI pipeline

This would usually be the first thing I set up, along with some tests. But for the sake of expediency...

host this somewhere?

been meaning to check out netlify. Or AWS/Azure/GCP are always a viable choice.

Dockerized build

It'd be pretty trivial to drop this whole thing into a docker image.

Refactor Go code

This was my first go-code I've written. I spent a few minutes trying to refactor, but was stumbling around, and decided to bail on the effort. Its small enough that a few chunky methods and ugly code is acceptable to me, but this could really use some attention?

Add github link

Since this is open source, might as well link back to GitHub

Add some special responses

Using the same general mechanism as I did for the "<connected>" messages, I can add special responses to the go server. Like... If you send "what time is it" the ChatBot can respond with the time, etc...

Consider the design

This design was pretty emergent and I did not give it any real thought. Before going too much further with the client it makes sense perhaps to sit down and think about the design -- perhaps comparing it to existing projects, and generating some new issues for incremental steps to improve it.

Add a message counter

Per the original specifications:

  • User can type any number of other messages that append to the window chat room and a message counter at top increments up as each message is added live

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.