anthowm / graphqlpetapi-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphql Pet api Backend

Graphql Apollo Server example

About the Pet api Backend

The Pet api backend is a graphql api with a CRUD endpoints of pet entity and simple jwt auth endpoints. For make this backend graphql apollo server is used https://www.apollographql.com/docs/apollo-server/. This backend is used for graphql pet api frontend for show how to use a graphql server https://petapidemo.firebaseapp.com/.

Features

  • Authentication jwt(log in)
  • Create Pet
  • Read Pet
  • Update Pet
  • Delete Pet

Getting started

Prerequisites

  • Node
  • MongoDB (In this repo we use a cloud mongoDB)

Clone project

git clone {repository-URL}

Run locally

  • npm install
  • npm start-dev
  • Go to http://localhost:4000/graphql

Run tests

Not tests implemented. You can contribute to it!.

About

License:MIT License


Languages

Language:JavaScript 100.0%