[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
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
'image'
git clone git@github.com:fwill22/chitter-challenge.git
bundle
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.
rackup
or
ruby app.rb
To view peeps, navigate to localhost:9292/peeps/timeline
rspec
rubocop
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)
- Ruby
- HTML
- CSS
- PostgreSQL database
- Sinatra web framework
- RSpec/Capybara
- 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