Giter Site home page Giter Site logo

fractastical / cloudspokes-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudspokes/cloudspokes-website

2.0 2.0 0.0 116 KB

CloudSpokes (on Rails!) -- Main repo for the cloudspokes.com website. Used in various challenges to rebuild the site in rails.

cloudspokes-website's Introduction

CloudSpokes (on Rails!)

This application is not a pixel-for-pixel or same-HTML remake of Cloudspokes. This was an intentional decision as it has been built with the same look and feel but using semantic HTML5 as well as Sprockets, SASS, and CSS3.

The application is on a clean skeleton and is set up for RSpec testing. To run the application, you can simply run rails server. It is also complete with a Gemfile, Guardfile for test automation, and more.

Basically this is a shell application that gives you everything you need to get up and running. It should deploy to Heroku great as-is.

Pages

The pages that are available are:

  1. Home Page (dynamic content excluded)
  2. About Page ("how it works" link)
  3. FAQs
  4. Privacy Policy
  5. Terms of Service

The required omniauth strategies have been added in config/initializers/omniauth.rb with the required consumer keys and consumer secrets from various OAuth providers. Change these values during deployment. Also there is a hard coded value of 'OmniAuth.config.full_host' to a 'https' url of the app. This is to force the callback generated by omniauth to have a 'https' (required for Salesforce).

Our OAuth module is at lib/auth.rb. It consumes the omniauth hash and generates a uniform hash for all providers with necessary values in a instance variable 'authhash' which can be used by other modules/classes.

The rails app has single controller: SessionController which has endpoints for /auth//callback and passes on the omniauth hash and provider to our 'lib/auth' module.

The current homepage with links to various providers is a simple static file: 'public/index.html'.

cloudspokes-website's People

Contributors

jeffdonthemic avatar

Stargazers

Joel Dietz avatar

Watchers

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