Skip to content

janetruluck/rack-api-scaffold

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Basic Rack API Scaffold

This is a very basic Rack API scaffold. It provides persistance via ActiveRecord for your favorite database, a basic user model and authentication.

##Uses:

  • Bcrypt for password hashing
  • Grape for simple api creation
  • ActiveRecord for persistance

System Requirements

  • ruby 1.9.3
  • see Gemfile

Installation

  • bundle install
  • rake db:migrate && rake db:test:prepare
  • rspec spec

Development

  • Run console: racksh
  • Generate migration file: rake g:migration NAME=migration_name
  • All ActiveRecord rake tasks are accessible: db:migrate, db:drop, db:seed, etc
  • Start the server: rackup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages