Code Monkey home page Code Monkey logo

chat_example's Introduction

Chat_Example

A basic chatting application.

Project Summery

This application is a bare bones chatting application written in TypeScript targetting Nodejs. It leverages express for routing, jade (now pug) for rendering, socket.io for real time communication, and jquery for dom manipulation. It offers dynamic chat room creation using express namespaces, as well as a primitive username feature.

Project Context

This application was written only a couple months after I started programming, over the summer of 2015. It was my first attempt at writing a web application, my first time using TypeScript, and first time using Nodejs. I had no knowledge of frontend frameworks, and no knowledge of production systems. As such, this project follows no best practices. All data is held in memory, no database is used. The CSS is fine tuned for a specific screen size, and would likely fail on any other. The utilization of namespaces to create rooms is not an optimal solution. No build tools or unit tests were used.

Lesssons

I learned a lot from this project, as everything was new. I gained a lot of knowledge about Nodejs and the basics of a web application. I learned the basics of jquery. The most important lesson I learned from this project was how to build an application with no help or guidance. Before this project, the only coding I had done was in introductory Computer Science classes. That coding was limited in scope and heavily guided. This project was outside the scope of any class, so I determined the goals and set out to implement it without help. There were many problems that I solved and many small features that I implemented. Even though this application is far from web scale, I managed to deploy it on Open Shift. While this application may be unimpressive, it was an enjoyable project and a crucial learning experience in my early programming days.

chat_example's People

Contributors

nepeckman avatar

Watchers

James Cloos avatar  avatar

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.