Skip to content
Eric Zhang edited this page May 10, 2016 · 6 revisions

🐲🐲Puck is a web micro-frame, which aim is quickly developing restful api.

why Puck?

  1. brief code to build restful api
  2. easy to learn and to use
  3. focus on restful web api, easy to return JSON object
  4. router system is convenient, support dynamic router
  5. Default use Redis to store session

Before use Puck

  1. install Redis and start it.

    wget http://download.redis.io/redis-stable.tar.gz
    tar xvzf redis-stable.tar.gz
    cd redis-stable
    make
    

    if you uses mac OSX, you can install like this:

    brew install redis
    

    start it:

    $ redis-server
    
  2. install puck

    you can use pip to install it:

    $ pip install pucks
    

    or you can install from source code:

    $ git clone https://github.com/EricQAQ/Puck
    $ cd Puck
    $ python setup.py install
    

How to use

The tutorial is here

If you think Puck is good, Plz START~~ ☺️☺️

Clone this wiki locally