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.