Coder Social home page Coder Social logo

chitter-challenge's Introduction

Chitter Challenge

This is a small Twitter clone that will allow the users to post messages to a public stream.

Tech/framework used

Ruby with Sinatra web framework, and PostgreSQL database. Tested using Rspec, and Capybara DSLs with Rubocop and Simplecov.

Features

User story 1

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

user story 1

User story 2

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

user story 2

User Story 3

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

User Story 4

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

user story 4

User Story 5

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

user story 5

User Story 6

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

Installation

  1. Fork and clone this repo
  2. Run bundle
  3. Create databases

How to use

  1. Open psql.
  2. Create databases chitter_chatter and chitter_chatter_test
  3. Connect to your chitter database using the command \c chitter_chatter
  4. Run the query we have saved in the file '02_create_peeps_table.sql'
  5. Run the query we have saved in the file '03_add_time_column_on_peeps_table.sql'
  6. Run the query we have saved in the file '04_create_users_table.sql'
  7. Run the query we have saved in the file '05_add_column_user_id_to_peeps_table.sql'
  8. Create a test database using the psql command CREATE DATABASE chitter_chatter_test;
  9. Repeat steps 3 and 6 for the test database.

How to run

  • rackup -p 3000

chitter-challenge's People

Contributors

tansaku avatar glykeriastr avatar jamesjoshuahill avatar neoeno avatar ptolemybarnes avatar tatsiana-makers avatar anitacanita avatar david-mears avatar sjmog avatar domvernon avatar silvabox avatar chrisjbatts avatar edwardandress avatar dearshrewdwit avatar samjones1001 avatar soph-g avatar spike01 avatar sdorunga avatar

Stargazers

 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.