Skip to content

paion-data/astraios

Repository files navigation

Astraios Logo

In less than 10 minutes, your colleague went downstairs for a cup of coffee

You, using Astraios, coded up and deployed a production-quality CRUD webservice

Astraios Java Version badge

GitHub Workflow Status Last Commit Apache License Badge

Astraios is a JSR 370 web service template that lets us spin up and deploy model driven GraphQL or JSON API web service with minimal effort.

Astraios seamlessly combines development and deployment of a CRUD (Create, Read, Update, Delete) API with

  1. a business-oriented approach using Convention Over Configuration, which resulted in a highly opinionated APIs for web & mobile
  2. the latest Immutable Infrastructure DevOp practice that fully automates the API deployment onto AWS

At the end of the day, Astraios helps organization to improve the velocity and quality of their teams' work

Spinning Up the API in 1 Minute

Running API From Template Java Version badge Maven badge Docker Compose badge

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/paion-data/astraios/master/quickstart.sh)"

Writing Data

curl -X POST "http://localhost:8080/v1/data" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"  \
    -d '{ "query" : "mutation { book(op: UPSERT, data:{title: \"Pride & Prejudice\"}) { edges { node { id title } } } }" }'

Reading Data

Simply open up our favorite browser and hit http://localhost:8080/v1/data/book

Deploying the API in 5 Minutes

GitHub Actions badge HashiCorp Packer badge HashiCorp Terraform badge AWS EC2 min size

Coming Soon!

Documentation

upptime

Comprehensive documentation is viewable on our website

Contributors Update Link Missing!

QubitPi
QubitPi
Xxy1016
Xxy1016
Doom9527
Doom9527
TristeOak
TristeOak
github-actions[bot]
github-actions[bot]

License

The use and distribution terms for Astraios are covered by the Apache License, Version 2.0.