code-cards
An application for managing you snippets of code.
Last updated 3 years ago by aloisdeniel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install code-cards 
SYNC missed versions from official npm registry.

Code-Cards

Host your code examples in one centralized place and share it with your team.

Install

$ npm install -g code-cards

Usage

$ 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 :

  • GET /api/cards[?tags=tag1,tag2,tag3,...] : gets all the cards filtered by tags.
  • POST /api/cards : creates a new card
  • POST /api/cards/:id : updates a specific card
  • GET /api/cards/:id : gets a specific card
  • DELETE /api/cards/:id : deletes a specific card

Why ?

There'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 :

  • Koa : a modern middleware for node using generators
  • commander.js : a command-line interface helper

Roadmap / ideas

  • Add tag auto-completion
  • Add pagination
  • Add user authentication and rights
  • Add compatibility with MongoDB for larger scale usage
  • Document source code
  • Create IDE plugins
  • Clean source code

Copyright and license

MIT © Aloïs Deniel

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

2 Versions

  • 0.1.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (16)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2018 © taobao.org |