Skip to content

orzen/steve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steve

Steve generates generic gRPC APIs with database support from a protobuf inspired specification.

Protobuf limitations

  • Options in enums

##TODO

  • Use id from Meta as index
  • Determine if plural should be kept or not
  • Support
    • Repeated messages
      • SetMany
      • GetMany
      • DeleteMany
    • Streamed messages
      • StreamSet
      • StreamGet
  • Interceptors
    • JWT / oauth
    • Prometheus

Learn

Methods

Alternative 1

  • Get
  • Set
  • Delete
  1. Template protobuf files
  • Add methods
  1. Generate gRPC
  • Run protoc
  1. Template plugin
  • Add protobuf into to plugin
  1. Build shared library
  • Compile protobuf code and plugin together

  • add inotify

    • resources templates -> generated new protobuf files
    • profobuf files -> generate new stubs and new plugins
    • plugins -> try load

Configuration

steve config

  • run dir
    • generated protobuf
    • generated templates
  • plugins
  • plugin based config parsing
    • mongo parser

resource config

References

https://github.com/grpc/grpc-go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published