GithubHelp home page GithubHelp logo

react-apollo-petstore's Introduction

React Apollo Cypress playground

Just a create-react-app boilerplate with Apollo Server, Apollo Client, Storybooks and Cypress based on the [https://petstore.swagger.io](petstore REST api) wrapped with .

Configuring the dev environment

Make sure you have the latest Stable or LTS version of Node.js installed.

  1. git clone this repo and navigate into it

  2. Run npm install or yarn install the client

  3. Run cd server and again run npm install or yarn install

  4. Open http://localhost:8080

Available Commands

  • npm server-start - starts the GraphQLs' Apollo Server on http://localhost:4000

  • npm start - starts the client app on http://localhost:3000

  • npm storybook - starts the storybook workbench on http://localhost:9009

  • npm test - runs all tests

  • npm run test:watch - runs all tests in jest's watch mode

  • npm run test:coverage - generate code coverage report in the coverage folder, wich is also used in storybooks

  • npm run cpyress:open - does open the cypres environment for e2e testing

  • npm run cpyress:run - juest runs the cypres for e2e tests

  • npm build - creates a production ready build

Happy coding!

react-apollo-petstore's People

Contributors

etorhub 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.