Giter Site home page Giter Site logo

toychatapp's Introduction

ToDo:

  1. Put our development vue app into a new folder. That compiles into the dist folder, that we can serve

  2. From Vue. Have a button that requests an emoji from a node backend.

  3. Move chat page into Vue. At a new route.

  4. Make chat page a vue-component. Submit button needs to bind to a vue-method. ul needs to be bound to a view/for loop.

  5. Status page.

  6. Refactor sockets login into a clean sockets module.

  7. Database to store chats

  8. Fix bug with reconnecting after some time

  9. Server - Write unit tests for helloWorld and emoji Endpoints.

  10. Server - Refactor endpoints into setup functions. e.g: setupHelloWorldEndpoint();

  11. Login page - You enter a login ID and then you’re in the chat room and it posts messages with your name.

  12. Type the name of the chat-room you want to join and then it only gives you messages from that room.

  13. Separate dependencies into dev-dependencies and dependencies.

Bonus: Save login and chat history to database.

How to run

install dependencies - runs for server and client.

$ npm run setup

build client

$ npm run build-client

serve with hot reload at localhost:8081

$ npm run serve

build for production with minification

$ npm run build

Notes:

https://koajs.com

https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram

toychatapp's People

Contributors

tawfiqh 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.