Skip to content
/ astraios Public template
forked from WordlessEcho/astraios

πŸ‘‘ JSON-API/GraphQL CRUD webservice template with Jersey framework

License

Notifications You must be signed in to change notification settings

zerosister/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

SonarCloud Quality Gate

Bugs Vulnerabilities Security Rating

Coverage Code Smells Maintainability Rating

Lines of Code Duplicated Lines (%) Reliability Rating Technical Debt

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

Comprehensive documentation is viewable on our website

Contributors Update Link Missing!

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

License

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

About

πŸ‘‘ JSON-API/GraphQL CRUD webservice template with Jersey framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 47.8%
  • Groovy 46.1%
  • Shell 3.1%
  • Dockerfile 2.1%
  • Ruby 0.9%