Skip to content

Instantly share code, notes, and snippets.

View stillsheryl's full-sized avatar

Sheryl Stillman stillsheryl

View GitHub Profile
@stillsheryl
stillsheryl / Crate_README_Notes.md
Last active February 13, 2021 21:02
Notes for Crate README

Crate

Setup and Running

  • Prerequisites
    • Node
    • MySQL (or Postgres / Sqlite / MSSQL)
  • Clone repo git clone git@github.com:demaceo/crate-1.git
  • CD into crate and then code directory: cd crate, cd code
  • Configurations
@stillsheryl
stillsheryl / oauth_bug.md
Last active January 18, 2024 12:52
OAuth Bundle Update Bug

Fixing an OmniAuth Error: uninitialized constant AuthController

I recently came across a bug when working on a team project that uses Google OmniAuth for authentication. A few different people had the same code on our local machines, and only one person was receiving an error, which was the following Google OAuth error:

Failures:
 1) welcome page As an authenticated users user logs in using Google OAuth
   Failure/Error: click_link 'Log In with Google'
   ActionController::RoutingError:
 uninitialized constant AuthController
@stillsheryl
stillsheryl / API_research.md
Last active December 23, 2020 21:45
API Ideas for Projects

API Ideas for Group Project:

GTFO -

  • api.openweathermap.org/data/2.5/forecast/ for 5 day / 3 hour forecast data by city was straightforward, but there were some more complicated calls
@stillsheryl
stillsheryl / graphql_info.md
Last active January 27, 2021 18:32
GraphQL Research

GraphQL

  • What is it?

GraphQL is a query language for your API. You can send a single query to the GraphQL server that includes the concrete data requirements and the server will respond with a JSON object where these requirements are fulfilled. GraphQL isn't tied to any specific database or storage engine and is instead backed by your existing code and data, so you can define how you want to get what data. In short, it creates a single endpoint responsible for accepting queries, rather than relying on the REST API approach of having separate endpoints for each service. In GraphQL, you don’t use URLs to identify what is available in the API. Instead, you use a GraphQL schema.

  • How can it be beneficial over RESTful CRUD endpoints?

GraphQL can be beneficial if you have rapidly changing data and you want to make requests that may have required multiple enpoints while using a REST API. You can retrieve only the data you need in a pre-determined format, which makes working with BE and FE more stra

@stillsheryl
stillsheryl / PAIRINResults.md
Last active December 22, 2020 18:28
PAIRIN Results

Part 1: PAIRIN Results

PAIRIN results