Chitter is a clone of Twitter where a user can sign up, sign in create a peep, and see other users peeps.
- Clone this repo.
bundle
to install gems- Run command
ruby app.rb
to start local server. Go to localhost:4567 in your browser to use the application
- This app uses sinatra
- The tests run on capybara and rspec
- PG to create an interface between ruby classes and the database
To run the feature and unit tests on this app use command rspec
from the root folder. Tests are all in rspec and capybara.
- Connect to psql
- Create the database using the psql command
CREATE DATABASE chitter;
- Connect to the database using the pqsl command
\c chitter;
- Run the queries that have been saved in the
/db/migrations
folder.
Currently you are able to log in to an account, but the peeps that you post will not be linked to your account. This is something that I am working on completing and the reason why there is 1 failing test.
Also in relation to this, there is no log out feature currently.