GithubHelp home page GithubHelp logo

wayann / rethinkdb-example-sinatra-pastie Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rethinkdb/rethinkdb-example-sinatra-pastie

0.0 2.0 0.0 20 KB

A canonical Sinatra Pastie-like application running on RethinkDB

License: MIT License

Ruby 58.88% HTML 41.12%

rethinkdb-example-sinatra-pastie's Introduction

What is it

A simple Pastie.org-like web application inspired by Nick Plante's toopaste project showing how to use RethinkDB as a backend for Sinatra applications.

The app demos the following functionality:

  • Creating a new snippet (code highlighting included)
  • Retrieving a snippet
  • Listing snippets for a language

The app could be easily extended to provide more interesting features like:

  • pagination
  • snippet expiration

Fork it and send us a pull request.

Complete stack

Installation

git clone git://github.com/rethinkdb/rethinkdb-example-sinatra-pastie.git
cd rethinkdb-example-sinatra-pastie
bundle

Note: If you don't have RethinkDB installed, you can follow these instructions to get it up and running.

Running the application

Running a Sinatra app is as easy as:

rackup

Credits

License

This demo application is licensed under the MIT license: http://opensource.org/licenses/mit-license.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.