tabrza / minstant

Instant messaging app for final project for web Application Development with Javascript and mongoDB through Coursera by University of London

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minstant

Instant messaging app for final project for web Application Development with javaScript and mongoDB through Coursera by University of London

Minstant

Minstant is an instant messaging webapp for the Web Application Development with JavaScript and MongoDB course on Coursera.

Created with Meteor.


Assignment instructions

In this peer assessment you will be working on an instant messaging app called minstant! You are provided with a working starter application and you have to use the skills you have learned in the course to improve the application in various ways. You should download and run the starter application, then test it out by logging in as different users in two different web browsers at the same time, and seeing if the users can talk to each other. It creates a set of test user accounts automatically, so you can log in as user1@test.com ... user8@test.com with the password test123.


Tasks

1. Improve the look and feel

  • Adapt the templates and helper functions so that the messaging window displays users’ avatars next to their messages. Feel free to add other enhancements!

2. Implement data writing security

  • Remove the insecure package from the application and implement a Meteor method to allow the insertion of chat items in the Chats collection. Test that you cannot insert items directly any more.

3. Implement data reading security

  • Remove the autopublish package from the application and implement publish and subscribe for Chats. Users should only be able to retrieve chats that have their user id in either the user1Id field or the user2Id field. Test by logging in as different users and checking what you can see.

4. Challenge: Implement emoticons

  • Can you implement emoticon functionality which allows the user to insert graphical emoticons into their message? Emoticons are small icons such as smiley faces which are typical of this kind of application.

Review criteria

Your work will be reviewed by people using it and testing out the security in the browser console. Reviewers will be instructed to check that each of the required things have been implemented. 70% of the mark is available for the three main tasks. 30% extra can be gained by attempting the challenge. The mark is broken down as follows:

Points Task
10% Submit a working link
20% Implement well laid out avatars in chat window
20% Implement methods to prevent direct inserts
20% Implement publish and subscribe to prevent users seeing conversations they were not involved in
30% Implement challenge
  • The pass mark is 60%.

About

Instant messaging app for final project for web Application Development with Javascript and mongoDB through Coursera by University of London


Languages

Language:JavaScript 70.4%Language:HTML 27.7%Language:CSS 1.9%