Giter Club home page Giter Club logo

shoutbox's Introduction

Angular 1.5.x

Implement a directive or component using Angular 1.5.x to generate a reusable select box element that allows for the following functionality:

  • Requires an Array or a Collection to populate the select box options
  • Can enable/disable a blank option in the select box (meaning no selection) through an attribute
  • Can provide a custom function to generate the select box option text for each element in the Array/Collection
  • Can truncate long select box option text to a specified number of characters (20 by default)
  • Can optionally call a parent function when a user changes the select box value
  • Generates error markup if the directive is improperly configured
  • Bonus: Unit tests and conforming to a linting standard

NodeJS / ES6

Using NodeJS and ES6, write a small Express web server that implements a simple ShoutBox application:

  • Root server URI ("/") presents users with a form to enter a unique username and a button to start chatting
  • Validate user's entered username to ensure it is present and unique, report back errors if not
  • If user's username is present and unique, navigate to a page that provides:
    • List of current posts stored by the server (username, post, last updated date/timestamp)
    • Button to add a new posts
    • Each listed post has a button to edit an existing post
  • Adding / editing a post presents a simple form for users to add new / edit existing post text with a Save or Cancel button
  • Bonus: Unit tests and conforming to a linting standard

shoutbox's People

Contributors

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