Skip to content

🐦 Fullstack web application written with Ruby: solo challenge to build a twitter clone

Notifications You must be signed in to change notification settings

fwill22/chitter-challenge

 
 

Repository files navigation

Chitter Challenge

[demo]

Chitter is a fullstack web app built solo to emulate the functionality of Twitter. Users can:

  • Create an account
  • Sign in
  • Post a peep
  • Delete their peeps
  • View other users' peeps in a reverse chronoligical timeline
  • Sign out

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

Domain Model

'image'

How to use

Set up the project

git clone git@github.com:fwill22/chitter-challenge.git

bundle

Set up the database

Connect to psql and create the chitter and test_chitter databases:

CREATE DATABASE chitter;
CREATE DATABASE test_chitter;

To set up the appropriate tables, connect to the database in psql and run the SQL scripts in the db/migrations folder in the given order.

Run the app:

rackup

or

ruby app.rb

To view peeps, navigate to localhost:9292/peeps/timeline

Run tests:

rspec

Run linting:

rubocop

Routes

If running from rackup:

localhost:9292/peeps/timeline

localhost:9292/peeps/new

If running from ruby app.rb

localhost:4567/peeps/timeline

localhost:4567/peeps/new (note that links between domains won't work on this host)

Tech Stack:

  • Ruby
  • HTML
  • CSS
  • PostgreSQL database
  • Sinatra web framework
  • RSpec/Capybara

Goals

  • I intend to continue working on this project to add CSS styling and complete the features from user stories 4 5 and 6.
  • Improve formatting of given time - add timestamp as a hover feature using CSS

About

🐦 Fullstack web application written with Ruby: solo challenge to build a twitter clone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 89.0%
  • HTML 11.0%