Mins: A mini version of RESTful API resource server

Source: Internet
Author: User

Introduced

and double 叒 Corporation made a wheel. Mins,mini server. A small server. Mainly used to do small project development, or the front-end debugging server. A built-in API for adding and removing changes is completed. As long as the data table is configured, the resources of the data table can be increased and censored, with a well-agreed API routing. Used to supplement the "Nodejs boot server" or "php-s" operation, which is used to add a little chicken.

Project Address

Https://github.com/chenhg5/mins

Use

Very simple, using the provided binary file, the incoming parameter-C can be.

mins -c /the/config/file/path

Routing

Method Path
GET /resource/:table/id/:id
DELETE /resource/:table/id/:id
PUT /resource/:table/id/:id
POST /resource/:table

Description

POST and PUT are added and modified, both need to pass the table only son parameter, the corresponding parameter name is the database table field name, the return content is JSON format.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.