Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chinmaygarde/rest_in_peace
Minimal web framework with a focus on simplicity. Powered by Sinatra and DataMapper.
https://github.com/chinmaygarde/rest_in_peace
Last synced: 20 days ago
JSON representation
Minimal web framework with a focus on simplicity. Powered by Sinatra and DataMapper.
- Host: GitHub
- URL: https://github.com/chinmaygarde/rest_in_peace
- Owner: chinmaygarde
- License: mit
- Created: 2010-02-19T11:42:09.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-25T04:17:22.000Z (about 14 years ago)
- Last Synced: 2024-10-08T05:52:58.384Z (about 1 month ago)
- Language: Ruby
- Homepage: http://chinmaygarde.github.com/rest_in_peace/
- Size: 223 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
ReST in Peace
=============Minimal web framework with a focus on simplicity. Powered by Sinatra and DataMapper.
Setup
-----Get the Gem
gem install rest_in_peace
Getting Started
---------------1. Generate the project skeleton
rip blogger2. Move into the project directory
cd blogger
3. Generate model and controller
script/define Post title:string body:string has_many:comments
4. Add nested resources
script/define Comment body:string belongs_to:postTo Deploy To The Cloud
----------------------4. Deploy to Heroku
script/cloudFor Local Development
---------------------4. Migrate database
script/migrate5. Start server
script/server6. Browse to http://localhost:4567/post