-
View the Admin UI:
grunt serve (in the project's /core/client directory)
A sample post rendered via Handlebars with Ghost theme support:
For example:
curl http://localhost:10010/v1/posts/{id} --header "Accept: text/html"
Modelled using Swagger 2.0 and the Swagger Editor, built using Express.js 4.0, Swagger Tools, Mongoose and MongoDB.
-
Install MongoDB
brew update brew install mongodb
-
Install Node.js
brew install node
-
Install Swagger
npm install -g swagger
-
Clone the repo
https://github.com/Robinyo/Vardyger.git
-
Install the project's dependencies (as per /core/server/package.json)
npm init
-
Run MongoDB
ulimit -n 1024 && mongod --config /usr/local/etc/mongod.conf
-
Start the API server (in the project's /core/server directory)
swagger project start
-
View the Swagger UI:
http://localhost:10010/docs
Note: Edit the API (/core/server/api/swagger/swagger.yaml):
swagger project edit
Copyright (c) 2015-2017 The Vardyger Foundation - Released under the MIT license.