<commit_before># Sinatra Boilerplate

I have been using Sinatra for a while, and have loved every moment of it. It's so simple create any type of application, from REST APIs to database applications. It's only problem is that it doesn't have a scaffolding tool, neither a command line tool. I found it quite frustrating at times, when I had to make quick apps, with it. So I tried to fix it.
<br><br>
Instead of creating a whole rubygem just for my small problem, I created a boilerplate for Sinatra, so all I had to do was copy or git clone the code, and I'd been on my way. I created it a while back, and a lot of people have been asking me about how my Sinatra apps are so well structured, and so I thought I'd open-source the code, just like I did for my [static boilerplate project](https://github.com/karlcoelho/coelho-boilerplate).
<br><br>
It contains the following gems :-
- sinatra - the gem itself.
- sinatra-contrib - some extensions for Sinatra
- sinatra-assetpack - asset management for Sinatra
- sinatra-static-assets - some helper methods for static content in 'public'
- sinatra-flash - flash messages in Sinatra
- datamapper - for the databases
- dm-migrations - Migrations to help with DataMapper
- dm-sqlite-adapter - A DataMapper adapter for SQLite. I love SQLite.
- rack - ruby web server handler, needed for heroku deployment
- rack-cors - CORS for the app, so that you can use it as an API.

For some static content, it uses :-
- Twitter Bootstrap 3
- jQuery

The app has been split into some what of an MVC format. Yeah, weird I know, but I designed for little more complex Sinatra apps, if you're going for large projects - Just use Rails. It'll help in the long run, Rails has a lot more to offer. Eventually I'll branch out another version of the boilerplate in a single file format, so check the branches of this repository if there is one.
<br><br>
I hope to help the community with this project.
<br><br>
Do let me know what you think about it, [by tweeting at me](http://twitter.com/therealcoelho).<commit_msg>edit README - Links n' Modernizr<commit_after># Sinatra Boilerplate

I have been using Sinatra for a while, and have loved every moment of it. It's so simple create any type of application, from REST APIs to database applications. It's only problem is that it doesn't have a scaffolding tool, neither a command line tool. I found it quite frustrating at times, when I had to make quick apps, with it. So I tried to fix it.
<br><br>
Instead of creating a whole rubygem just for my small problem, I created a boilerplate for Sinatra, so all I had to do was copy or git clone the code, and I'd been on my way. I created it a while back, and a lot of people have been asking me about how my Sinatra apps are so well structured, and so I thought I'd open-source the code, just like I did for my [static boilerplate project](https://github.com/karlcoelho/coelho-boilerplate).
<br><br>
It contains the following gems :-
- [sinatra](https://github.com/sinatra/sinatra) - the gem itself.
- [sinatra-contrib](https://github.com/sinatra/sinatra-contrib) - some extensions for Sinatra
- [sinatra-assetpack](https://github.com/rstacruz/sinatra-assetpack) - asset management for Sinatra
- [sinatra-static-assets](https://github.com/wbzyl/sinatra-static-assets/) - some helper methods for static content in 'public'
- [sinatra-flash](https://github.com/SFEley/sinatra-flash) - flash messages in Sinatra
- [datamapper](http://datamapper.org/) - for the databases
- [dm-migrations](https://github.com/datamapper/dm-migrations) - Migrations to help with DataMapper
- [dm-sqlite-adapter](https://github.com/datamapper/dm-sqlite-adapter) - A DataMapper adapter for SQLite. I love SQLite.
- [rack](http://rack.github.io/) - ruby web server handler, needed for heroku deployment

For some static content, it uses :-
- [Twitter Bootstrap 3](http://getbootstrap.com/)
- [jQuery](http://jquery.com/)
- [Modernizr](http://modernizr.com/)

The app has been split into some what of an MVC format. Yeah, weird I know, but I designed for little more complex Sinatra apps, if you're going for large projects - Just use Rails. It'll help in the long run, Rails has a lot more to offer. Eventually I'll branch out another version of the boilerplate in a single file format, so check the branches of this repository if there is one.
<br><br>
I hope to help the community with this project.
<br><br>
Do let me know what you think about it, [by tweeting at me](http://twitter.com/therealcoelho).
{'fraction_non_alphanumeric': 0.08242612752721618, 'fraction_numerical': 0.00044434570095534326, 'mean_word_length': 4.041433370660695, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4241942', 'n_tokens_mistral': 1320, 'n_tokens_neox': 1245, 'n_words': 650}