Skip to content

timhudson/atlas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@timhudson/atlas

Atlas is a minimalistic framework for GraphQL servers

This is a temporary fork of segmentio/atlas

How to use

Install it:

npm install @timhudson/atlas graphql

and add a script to your package.json like this:

{
  "scripts": {
    "start": "atlas"
  }
}

After that, the file-system is the main API.

Populate ./schema/Query.js inside your project:

module.exports.typeDef = `
  type Query {
    hello: String!
  }
`

module.exports.resolvers {
  Query: {
    hello: async () => 'world'
  }
}

and then just run npm start and go to http://localhost:3000.

Check out the examples for further details.

About

Minimalistic framework for GraphQL servers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%