Giter Club home page Giter Club logo

chitter-challenge's Introduction

Chitter

Chitter is a clone of Twitter where a user can sign up, sign in create a peep, and see other users peeps.

How to Use

  • 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

Dependancies

  • This app uses sinatra
  • The tests run on capybara and rspec
  • PG to create an interface between ruby classes and the database

Running the tests

To run the feature and unit tests on this app use command rspec from the root folder. Tests are all in rspec and capybara.

How to set up the Database

  1. Connect to psql
  2. Create the database using the psql command CREATE DATABASE chitter;
  3. Connect to the database using the pqsl command \c chitter;
  4. Run the queries that have been saved in the /db/migrations folder.

Notes

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.

chitter-challenge's People

Contributors

tansaku avatar caitlin-cooling avatar neoeno avatar ptolemybarnes avatar anitacanita avatar sjmog avatar domvernon avatar silvabox avatar chrisjbatts avatar dearshrewdwit avatar spike01 avatar sdorunga avatar

Watchers

James Cloos 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.