Skip to content

Front End Repository For ⏫ Upvote - a real-time voting platform

Notifications You must be signed in to change notification settings

jobannon/upvote_ui

Repository files navigation

UpVote

6D9CCA08-9791-48E2-B487-4BAA0358D2AB Click to open the UpVote app hosted on Heroku Click here to open the related Back-End API supporting this Front-End

Build Status

Table of Contents

About the project

UpVote is an interactive Rails web application built from conception to completion that authenticates with a third-party service (GitHub), consumes the Upsplash API, and provides a solution to an identified problem.

Purpose

Object Oriented Programing principles, Restful Routing, Test Driven Development, Behavior Driven Development, Authenticated API calls, OAuth process

Welcome Page Demo

upvote2

Installation

  1. Clone down this and the micro-service repo into a directory of your choice
  $ git clone https://github.com/jobannon/upvote_ui
  $ git clone https://github.com/jobannon/upvote_api
  1. Change into the following directory
  $ cd upvote_ui
  1. Install the gem packages
  $ bundle install
  1. Change into the other directory
  $ cd upvote_api
  1. Install the gem packages
  $ bundle install
  1. Set up the database
  $ rake db:{create,migrate,seed}
  1. Launch your local server
  $ rails s
  1. In a separate terminal tab, run the upvote_ui
  $ cd upvote_ui
  $ puma
  1. Finally, visit http://localhost:9292 in your web browser

Requirements

Environment variables and required API keys/tokens:

  • GitHub client_id defined as ENV['GITHUB_KEY']
  • GitHub client_secret defined as ENV['GITHUB_SECRET']

Versions

  • Ruby 2.6.3
  • Rails 6.0.2

Related Repositories

Database

image

Architecture

image

Testing

Testing Technologies

Running Tests

Run the full test suite:

$ bundle exec rspec

Run a single test file:

$ bundle exec rspec <path-to-file>

Roadmap

Contact

Acknowledgements

About

Front End Repository For ⏫ Upvote - a real-time voting platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •