$ cnpm install code-cards
Host your code examples in one centralized place and share it with your team.
$ npm install -g code-cards
$ code-cards start
You can then open your browser and fo to http://localhost:5555/
.
For managing your cards through the API these methods are availables :
/api/cards[?tags=tag1,tag2,tag3,...]
: gets all the cards filtered by tags./api/cards
: creates a new card/api/cards/:id
: updates a specific card/api/cards/:id
: gets a specific card/api/cards/:id
: deletes a specific cardThere's plenties of other solutions like Github's gists, but I wanted a private place for me and my team members ... but the main purpose of this project was to try out new frameworks :
In addition to the frameworks I already love :
MIT © Aloïs Deniel
Copyright 2014 - 2016 © taobao.org |