Code Monkey home page Code Monkey logo

chitter-challenge's Introduction

Chitter Challenge

Brief

To write a clone of Twitter that will allow users to post messages to a public stream

User Stories:

As a Maker
So that I can post messages on Chitter as me
I want to sign up for Chitter

As a Maker
So that I can post messages on Chitter as me
I want to log in to Chitter

As a Maker
So that I can avoid others posting messages on Chitter as me
I want to log out of Chitter

As a maker
So that I can let people know what I am doing  
I want to post a message (peep) to chitter

As a maker
So that I can see what others are saying  
I want to see all peeps in reverse chronological order

Still working on the following:
-------------------------------
As a maker
So that I can better appreciate the context of a peep
I want to see the time at which it was made

Testing:

Will be done with RSpec and Capybara

Feature Tests:

  • User can sign up

    • As new user visiting site

    • As long as they give a password and password confirmation that match

    • But not with an email or username already registered

  • User can sign in

    • With correct log in details

    • But not with incorrect log in details

  • User can sign out

    • After having been signed in
  • Peeps can be viewed on the homepage

  • User can post a peep

    • Only if they're registered

Unit Tests:

General Structure:

Currently planning on having the following classes:

  • Peep - the posts that users create

  • User - stores the user's information

Notes on functionality:

  • Drive the creation of your app using tests - either cucumber or rspec as you prefer
  • Makers sign up to chitter with their email, password, name and a user name (e.g. [email protected], s3cr3t, Samuel Russell Hampden Joseph, tansaku).
  • The username and email are unique.
  • Use bcrypt to secure the passwords.
  • Use data mapper and postgres to save the data.
  • Peeps (posts to chitter) have the name of the maker and their user handle.
  • You don't have to be logged in to see the peeps.
  • You only can peep if you are logged in.
  • Please ensure that you update your README to indicate the technologies used, and give instructions on how to install and run the tests
  • Finally submit a pull request before Monday at 9am with your solution or partial solution. However much or little amount of code you wrote please please please submit a pull request before Monday at 9am

Bonus:

If you have time you can implement the following:

  • In order to start a conversation as a maker I want to reply to a peep from another maker.

And/Or:

  • Work on the css to make it look good (we all like beautiful things).

Good luck and let the chitter begin!

chitter-challenge's People

Contributors

ashcode09 avatar tansaku avatar chrisjbatts avatar spike01 avatar

Watchers

 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.