GithubHelp home page GithubHelp logo

flack-cs50w-p2's Introduction

CS50W Project 2: Flack

Web Programming with Python and JavaScript

This is an online messaging service using Flask, JavaScript and Socket.IO similar in spirit to Slack. Built the web UI with Javascript running code server-side and Socket.IO communicating between clients and servers.

Users will be able to sign in with a display name, create channels (i.e. chatrooms) to communicate in, as well as see and join existing channels. Once a channel is selected, users will be able to send and receive messages with one another in real time. A simple personal touch I added was allowing the user to change his/her display name by clicking on the current name in the top right corner.

What's contained in each file?

  • static folder: channel.js contains javascript to be run only when on channel.html page; index.js contains client-side javascript for all pages including the use of localStorage, alerts, and emitting socket events; styles.css contains custom styles
  • templates folder: index.html is the first page user visits; channel.html shows the current channel user is on; error.html is not used but could be implemented where necessary during testing
  • application.py contains server-side code, including global variables storing all the channels and messages
  • global_variable.py is a python script I created for testing when exploring the changing of global variables
  • reflections.txt contains some of my thoughts while doing the project and the unused code which reflects the project's journey to completion
  • specifications.txt is a summarised version of the tasks to be completed as given by CS50W

flack-cs50w-p2's People

Contributors

allardquek avatar

Watchers

 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.