menu

JS Everywhere

A community for the JavaScript Everywhere book by Adam Scott, published by O'Reilly.

Channels
Team
Posts
Members
Info
down-caret
·319d·Pinned# General

Code of Conduct

Hi all, Please take a few minutes to read through the code of conduct when joining this group. Our Goal …

thumbsup
3
message-simple
0

Error Bad Request

I am not sure why I am receiving a bad request error. The API is running locally and I am able to make queries and mutations to the database locally but am not able to display the data to the console. Any help on this error would be extremely useful Code for home.js: and App.js:

thumbsup
0
message-simple
14

Having an issue with Curl not liking my attempt

$ curl \ -X POST \ -H "Content-Type: application/json" \ --data '{ "query": "{ notes { id } }" }' \ https://notes-with-friends.herokuapp.com/api curl: (3) URL using bad/illegal format or missing URL curl: (6) Could not resolve host: POST curl: (3) URL using bad/illegal format or…

thumbsup
0
message-simple
5

Hi guys, Thanks Adam for this amazing book, I'm currently at the web…

Here's my code sample // My Mutation import {useMutation, useApolloClient, gql} from '@apollo/client' …

thumbsup
0
message-simple
11

Error during build step on Netlify

thumbsup
0
message-simple
1

Expo and Ubuntu Solutions

Just finished the book, which is incredibly well written, easy to follow, and exactly the topic I was looking for (thank you so much for your time/efforts Adam!). As a noob to networking and package management, I figured I would go ahead and share a couple things in the mobile…

thumbsup
0
message-simple
1

CH. 4 GraphQL Playground always returning null

Hi, I just started learning this book, but I have question about the graphql playground, it was return "hello": null instead of hello world, can u guys help me out? const express = require('express'); const { ApolloServer, gql } = require('apollo-server-express'); …

thumbsup
0
message-simple
2

Ch. 15.6 Creating a Sign-In Form

Hello, I recently started going through the JavaScript Everywhere book and I am loving the book and the application that we are building throughout. After finishing with the API, which was a lot of fun using GraphQL, I moved on to the web app portion using React. I was able to…

thumbsup
0
message-simple
18

Chapter 10 setup mongodb database and deploy API to heroku

Hello, I have run into a few things that I don't understand. (UPDATE: everything works now, thanks to Adam's replies. First, I am confused by the setup of the database on mongoDB. I see that I made a Cluster0, but under collections I have 0 databases. Is there something in the…

thumbsup
0
message-simple
18

Something on Edit Form Ch.16

// if the current user and the author of the note do not match if (userdata.me.id !== data.note.author.id) { return <p>You do not have access to edit this note</p>; …

thumbsup
0
message-simple
5

Ch. 16 typo in UserForm

Should be value, I am going by the online version of the book. It is declared as "value" earlier, should be value.

thumbsup
0
message-simple
1