Skip to content

Confusing "getting started" instructions #369

Description

@ryanblakeley

Could we maybe have a 1, 2, 3, ... in the README for how to start a project using one of these boilerplates? Do you clone this repo first, or just a copy of /minimal, /basic, or /advanced? Are you supposed to install graphql-cli and then do graphql create?

Based on the README, it says go to the chosen boilerplate README. I look at minimal/README and there is nothing in the section called "Getting Started". I assume step 1 is copy that directory and run npm i. It says

yarn start or npm run start starts GraphQL server on http://localhost:4000

But npm run start fires up localhost:3000, there is no service running for me on port 4000. The browser just says "an unexpected error occurred" and there is no response from port 4000. Are there instructions somewhere that I am missing?

Activity

  1. ryanblakeley commented on May 31, 2018

    @ryanblakeley
    Author

    I have it working but the instructions are still incomplete.

    These are the steps I used:

    git clone git@github.com:graphql-boilerplates/react-fullstack-graphql.git
    cd react-fullstack-graphql
    mv minimal ../your-new-project
    cd ../your-new-project
    npm i
    cd server
    npm i
    npm run start

    Open a new terminal tab, move to project root, and run the frontend app:

    cd ..
    npm run start
  2. vivek12345 commented on Jul 4, 2018

    @vivek12345

    @rojobuffalo See if these changes would help you better.
    #408

  3. ryanblakeley commented on Jul 6, 2018

    @ryanblakeley
    Author

    Looks good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions