Skip to main content

A perfect tool for creating restful web services

Project description

Rest CLI

Build Status

If you love ?

  • Beautiful restful web service with standard architecture
  • The fastest way to get things done with less human manipulation
  • Easy way to scale to hundred units as micro-services ?

Then this powerful tool is the right choice for you.

Features:

  • Skeleton application is powered by Laravel Lumen
  • You provide schema and route then "Rest" will do the "rest"

Prerequisite

  • Python 2.7 with pip
  • PHP 7.2 with composer

Installation

make && make install

Road map

  • Create web service base on skeleton application
  • Database schema migration
  • Reverse schema to model - repository - service and DI
  • Support annotation query
  • Compile routes and generate controller with test cases
  • Serve and test application
  • Generate swagger documentation base on routes
  • Generate micro-service interfaces for inter-communication

Usages (Proposal)

  1. Create web service application
$ rest create user
  1. Enter user service and write some migrations and up them with
$ rest migrate
  1. Synchronous model - repository and service base on schema
$ rest sync
  1. Create some endpoints in /api then controller and integration test will be ready
$ rest api
  1. Generate Swagger documentation base
$ rest doc
  1. Serve your application to test in browser with
$ rest serve
  1. Check current version
$ rest version
  1. Automatically updates
$ rest upgrade
  1. Need more help ?
$ rest --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rest-cli-0.0.1.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distributions

rest_cli-0.0.1-py2.7.egg (33.2 kB view hashes)

Uploaded Source

rest_cli-0.0.1-py2-none-any.whl (14.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page