Skip to content

tbenis/random-jokes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Jokes App

Overview

The Random Jokes app was inspired by a Ruby CLI project I previously created. I wanted to take the idea of something that works in a CLI and code it to work similarly in the web browser. The idea is users can sign up or log in, create an archive of their favorite dad jokes, edit and delete jokes they create, and also view jokes collected by other users

How to run this project

  1. Clone the Repository

     % git clone https://github.com/tbenis/random-jokes.git
    
  2. Bundle install dependecies

    % bundle install
    
  3. Run Migrations

    % rake db:migrate
    
  4. Seed Database

    % rake db:seed
    
  5. Run server (Shotgun (preferred) or Rackup)

    % shotgun
    
  6. Navigate to the url in a web browser: http://localhost:9393/

Additional Information (Password for seeded users)

Regarding the seeded data, the password for all created users after running rake db:seed is 'password' Each user has a unique email. Head to the terminal and type % rake console. Once the pry console comes up, type User.all and that will show you all 10 users and their emails. Remember to use password to login in a browser.

Video Demo

Youtube

Author(s)

Benis Tambe >>>> GitHub -- Benis Tambe

License:

MIT

About

Random Jokes Sinatra App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published