Skip to content

vladyn/Catstronaut-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple GraphQL server

GraphQL API consumer provirder

Catstronaut is a playground for a GraphQL API, providing and consuming data. It:

  • Consumes an REST like API
  • Provides it to a front-en application

It's a based on GraphQL tutorial from Odyssey Lift off course, Part 1.

Authenticate

Create a file in the root folder of the middleware project called config.js with your credentials like

module.exports = credentials = {
    username: yourData,
    password: yourData
}

Deployment

Deploy is thought sftp on the client host. Ask for permissions the author.

Run

To get started run the following command.

yarn install && yarn start

Once everything is bootstraped navigate to http://localhost:4000 in your browser.

You should be able to see the test results report as the list in the console.

Build with

  • JavaScript

Meta

Vladimir Varbanov

License

License

About

A GraphQL api with mocked data to feed a web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published