Coder Social home page Coder Social logo

fullstack-course1-module3's People

Contributors

dependabot[bot] avatar ejavaguy avatar faacy avatar kalmanh avatar mktoma728 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fullstack-course1-module3's Issues

food2fork api changes

Looks like Food2Fork updated their API endpoint to use https and they dropped the www so the rspec tests fail.

gogorunner repository

WHEN I code in terminal :git clone https://github.com/ramunni/gogorunner.git

I get this

Cloning into 'gogorunner'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
warning: unable to access '/Users/anthonyramunni/.config/git/attributes': Permission denied

Module3 Coursera project

When I type in http://localhost:3000/courses/index, I get an error message

SON::ParserError in CoursesController#index
822: unexpected token at ' <title>Coursera - API Route Does Not Exist</title>

API Route Does Not Exist

Edge does not know about this API route.
Check whether this route is exposed in the routing table.
'

I followed the earlier, 2017 jun post recommendation to change coursera API. to
base_uri 'https://api.coursera.org/api//courses.v1'
default_params fields: "photoURL,description", q: "search"
Is this correct?

Lesson03-Assignment01-HTTP-Client

Hi,
I'm trying to do the first assignment and I get the next message:
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse': 795: unexpected token at 'FORBIDDEN' (JSON::ParserError)

I don't know what to do...
i'm adding my code

require 'httparty'

class Recipe
include HTTParty
base_uri 'http://food2fork.com/api'
default_params fields: "image_url,source_url,f2f_url,title,publisher_url,social_rank,page",key: ENV["FOOD2FORK_KEY"]
format :json
def self.for term
get("/search", query: { q: term})["elements"]
end
end

internal error when accessing food2fork

I got :

Internal error

Ticket issued: F2F/78.11.43.106.2016-06-27.09-07-22.7c07beb1-ef2e-44f8-92ae-fed7fd8e6e59
Is it temporary or something is wrong with the site?

Thanks
Krzysiek

RSpec fails to run out of the box

While attempting to setup this assignment, I initially ran RSpec, before writing any code, after installing the required gems, as I would normally do with any test in place. For some reason the test fails, I cannot figure out why?

This is the console output:

C:/Sites/fullstack-course1-module3/Assignments/Lesson03-Assignment01-HTTP-Client/student-start/spec/recipe_spec.rb:1:in `require_relative': C:/Sites/fullstack-course1-module3/Assignments/Lesson03-Assignment01-HTTP-Client/student-start/module3_1_assignment.rb:5: syntax error, unexpected '\n', expecting :: or '[' or '.' (SyntaxError)
C:/Sites/fullstack-course1-module3/Assignments/Lesson03-Assignment01-HTTP-Client/student-start/module3_1_assignment.rb:9: syntax error, unexpected keyword_end, expecting end-of-input
        from C:/Sites/fullstack-course1-module3/Assignments/Lesson03-Assignment01-HTTP-Client/student-start/spec/recipe_spec.rb:1:in `<top (required)>'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1361:in `load'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1361:in `block in load_spec_files'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1359:in `each'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1359:in `load_spec_files'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:106:in `setup'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:92:in `run'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke'
        from C:/RubyOnRails/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.4.4/exe/rspec:4:in `<top (required)>'
        from C:/RubyOnRails/Ruby2.2.0/bin/rspec:23:in `load'
        from C:/RubyOnRails/Ruby2.2.0/bin/rspec:23:in `<main>'

error while creating a new gem

hi
when I tried to install a new gem a get that error :
ERROR: Could not find a valid gem 'rspec' (>= 0) in any repository

JSON::ParserError in CoursesController#index

When I run the fullstack-course1-module3 project and type http://localhost:3000/courses/index in my browser, it showed:

JSON::ParserError in CoursesController#index
795: unexpected token at ' <title>Action not found</title> <style> html, body, pre { margin: 0; padding: 0; font-family: Monaco, 'Lucida Console', monospace; background: #ECECEC; } h1 { margin: 0; background: #AD632A; padding: 20px 45px; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,.3); border-bottom: 1px solid #9F5805; font-size: 28px; } p#detail { margin: 0; padding: 15px 45px; background: #F6A960; border-top: 4px solid #D29052; color: #733512; text-shadow: 1px 1px 1px rgba(255,255,255,.3); font-size: 14px; border-bottom: 1px solid #BA7F5B; } </style>

Action not found

For request 'GET /api/catalog.v1/courses?query=jhu&q=search&fields=smallIcon%2CshortDescription'

'

I am not sure how to fix it!!!

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.