зеркало из https://github.com/docker/labs.git
Create message API for Sails app. Fixes #393
This commit is contained in:
Родитель
4e4d3a6b68
Коммит
0d85948d75
|
@ -19,7 +19,8 @@ DELETE | /message/ID | delete message with ID
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
* Install Sails.js (it's to Node.js what RoR is to Ruby): `sudo npm install sails -g`
|
* Install Sails.js (it's to Node.js what RoR is to Ruby): `sudo npm install sails -g`
|
||||||
* Create the application: `sails new messageApp && cd messageApp`
|
* Create the application: `sails new messageApp && cd messageApp`
|
||||||
|
* Create the `message` api: `sails generate api message`
|
||||||
* Launch the application: `sails lift`
|
* Launch the application: `sails lift`
|
||||||
|
|
||||||
## First tests
|
## First tests
|
||||||
|
|
Загрузка…
Ссылка в новой задаче