Skip to content

anthowm/graphqlpetapi-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published