Skip to content

muldos/graphql-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Serverless Skeleton

GraphQL Flask app that can be run locally or serverless in the cloud (AWS). Implements the "Star wars" example of the Official GraphQL.org

Local startup

Windows

.\venv\Scripts\activate.bat
cd flask_app
set FLASK_APP=application
flask run

Linux

./venv/bin/activate
cd flask_app
export FLASK_APP=application
flask run

Then go to http://localhost:5000/graphql and try for example

{
  human(id: "1000") {
    name
    appearsIn
  }
}

Cloud deployment

Use the provided deploy / cleanup workflows

Extras

Latest deploy@master : Deploy Stack

Autolint by : Code style: black

About

skeleton for flask graphql projects on AWS lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published