ashotik / graphql-onlinestore

Apollo GraphQL Online Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a GraphQL Online Store implementation. It is not an end to end solution. With this functionality, you can create a real GraphQL application; both the server and client.

To get started.

       Clone the repository
   
       git clone https://github.com/Ashot72/graphql-onlinestore.git
       cd onlinestore
       cd server && npm install OR yarn install
       cd ../client && npm install OR yarn install
       
       Run server and client, each in a separate terminal:

       cd server
       npm start OR yarn start

       In another terminal:

       cd client
       npm start OR yarn start

Navigate to localhost:3000 to explore the current state of the online store. The server is running on localhost:4000. You can navigate to localhost:4000/graphiql which will load a graphical /ˈɡrafək(ə)l/, interactive in-browser GraphQL IDE. With graphical you can test write, validate and test GraphQL queries.

Server

  • Express, a web framework for Node.js (Node.js 8.0 ++ as async/await is used).

  • graphql-server-express - the Express and Connect integration of GraphQL Server.

  • MongoDB - an open source, document-oriented database.

  • Mongoose, MongoDB ODM/ORM, - straight-forward, schema-based solution to model our application.

Client

  • apollo_client - a fully-features, production ready caching GraphQL client.

  • react_apollo - React component for Apollo client.

  • apollo_upload_client - file upload via GraphQL mutations.

  • react_bootstrap - bootstrap framework rebuilt for React.

Go to Online Store description page

About

Apollo GraphQL Online Store


Languages

Language:JavaScript 99.1%Language:CSS 0.5%Language:HTML 0.4%