command
module
Version:
v0.0.0-...-d71c872
Opens a new window with list of versions in this module.
Published: Aug 21, 2018
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Mins
a mini restful server
to build a efficient restful server with only a command
usage
mac
brew tap chenhg5/tap && brew install mins
linux
wget https://github.com/chenhg5/mins/releases/download/0.0.4/mins_linux -O mins
mins -c /the/config/file/path
config.ini example
[server]
port = 4006
[database]
addr = localhost
port = 3306
user = root
password = root
database = example
route
Method |
Path |
GET |
/:table/:id |
DELETE |
/:table/:id |
PUT |
/:table/:id |
POST |
/:table |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.