Skip to content

Riky5/chitter-challenge

 
 

Repository files navigation

Chitter App

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

USER STORIES

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

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

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

HARDER

As a Maker So that only 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


Built with


Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/Riky5/chitter-challenge.git
  1. Install all the gems
    bundle install
  1. Connect to rackup
    rackup
  1. Open the browser and type in the url
    localhost:port_number

    example:

    localhost:9292

Database setup

  • Start a session with psql or TablePlus
  • Follow the steps provided in the db/migration folder. Copy paste the SQL code to setup the database.

To run tests

  rspec

Usage

Screenshots:

The landing page.

You can sign in with username and password or as a guest. Or register if you don't have an account yet. Homepage1

Sign up page.

You need to provide name, username, email and password. Or go to the sign in page if you're already registered. Sign up

User created.

Once submitted all details you should see this page. You can finally go sign in. Signed up successfully

Example:

Entering username and password.

Loggin in

Home page.

Example:

Here you can post messages. And see what other users posted. Home1

Home2

Home


Models that helped with this challenge

MVC MVC model Database Database model


NOTES: I wanted to add more functionalities but run out of time. A guest can sign in and also post at the moment.. something I should fix when I have time.

About

Build a Twitter Clone!

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 47.0%
  • CSS 29.1%
  • HTML 18.5%
  • Shell 5.4%