mendahu / tweeter

A twitter clone project, to help students gain front-end dev chops. Starter (incomplete) code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tweeter Project

Tweeter is a simple, single-page Twitter clone designed to demonstrate CSS and SASS styling, AJAX requests, form validation, and ux/ui.

Dependencies

  • Express
  • Node 5.10.x or above
  • Autosize
  • Body Parser
  • Chance
  • md5

Getting Started

  • Install all dependencies (using the npm install command).
  • Run the development web server using the node index.js command.

Note: autosize is included in the package.json and can be installed as a dependency with npm install, however this project does not use a javascript compiler. Therefore for demonstration purposes, the autosize.js file was copied from the node_module folder to the public/scripts folder and loaded into the html file to run client-side.

Features

Fully Responsive

A fully responsive design wth breakpoints at 450px, 768px, 1024px and 1400px.

Navbar is fixed in desktop view and scrolls with page in mobile view to preserve screen real estate.

"Fully Responsive Design"

Animated SVGs andd interactve elements

Animated elements show user how to interact with the page. Some remain hidden until needed.

"Pull-down Icon" "Jump button"

Tweet elements have box-shadow effect on hover, and interactive buttons show coloured hover effects.

"Tweet"

Drop-down Element

New tweet box is hidden by default to add focus to tweet content and is accessible with a quick button click.

"Tweet"

Asynchronous Interaction

Tweet asynchronously submit and load in to feed using AJAX.

"Asynchronous interaction"

Error handling

Dynamic counter tracks user input and turned red to warn user they have exceed tweet limit. Submission attempts are marked by an inpage error screen which disappears after a timeout.

Textarea automatically expands with text.

"Character counter" "Error messages"

About

A twitter clone project, to help students gain front-end dev chops. Starter (incomplete) code.


Languages

Language:JavaScript 56.8%Language:CSS 33.3%Language:HTML 9.9%