Download Latest Version proj.zip (8.8 MB)
Email in envelope

Get an email when there's a new version of Plant app

Home / 0.01v
Name Modified Size InfoDownloads / Week
Parent folder
views 2019-05-18
public 2019-05-18
models 2019-05-18
db 2019-05-18
config 2019-05-18
active-record 2019-05-18
_gitignore 2019-05-18 39 Bytes
README.md 2019-05-18 1.6 kB
Thumbs.db 2019-05-18 5.6 kB
users_controller.rb 2019-05-18 1.7 kB
warden_auth.rb 2019-05-18 1.4 kB
plants_controller.rb 2019-05-18 46.5 kB
posts_controller.rb 2019-05-18 3.2 kB
Rakefile 2019-05-18 55 Bytes
Gemfile 2019-05-18 246 Bytes
Gemfile.lock 2019-05-18 2.0 kB
LICENSE 2019-05-18 1.4 kB
core.rb 2019-05-18 12.5 kB
config.ru 2019-05-18 80 Bytes
Totals: 19 Items   76.4 kB 0

Sinatra Kickstart Template

In short: Sinatra template, active record based, classic style, startout app with extensions that can be left intact or removed.

Concept: This is a compact version of a complete application with all the code, written in simple understandable form, for you to see how it works, and learn from it. All of the concepts covered in this application (like the use of manual SELECT queries) are intentional. The main idea is to make a basic skeleton application but with ready made code examples which can be later tailored to your application. In the end, this application framework skeleton will have several extensions which can be added or completely removed, so if you need a typical application that has blog posts and comments, you can include the ready made extension on the fly without any additional work. As this application is intended to solve problems which are rather done by Rails, this application is mostly suited for familiarizing yourself with the concepts ready-made in the Rails framework. If you have troubles learning the Rails framework, I would strongly advise you to dive into the code of this application or check any other Sinatra tutorials.

Current main version: 0.1 alpha

Blog extension version: 0.2 alpha

Please use this application at your own risk! It is not done yet!

How to use:

Install dependencies (bundle)

migrate (rake db:migrate)

Run Application (ruby core.rb)

Also, make sure to check the following:

rake -T

use Ruby 2.0.0 or greater

make sure you clean the data you are not using during testing, nothing is deleted!

Source: README.md, updated 2019-05-18