Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spider-gazelle/spider-gazelle
A Rails esque web framework with a focus on speed and extensibility for crystal lang
https://github.com/spider-gazelle/spider-gazelle
Last synced: about 4 hours ago
JSON representation
A Rails esque web framework with a focus on speed and extensibility for crystal lang
- Host: GitHub
- URL: https://github.com/spider-gazelle/spider-gazelle
- Owner: spider-gazelle
- License: wtfpl
- Created: 2018-02-03T06:25:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T22:43:29.000Z (about 1 month ago)
- Last Synced: 2025-02-08T22:09:32.326Z (7 days ago)
- Language: Crystal
- Homepage: https://spider-gazelle.net/
- Size: 106 KB
- Stars: 182
- Watchers: 9
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-crystal - spider-gazelle - A Rails esque web framework with a focus on speed and extensibility (Web Frameworks)
- awesome-crystal - spider-gazelle - A Rails esque web framework with a focus on speed and extensibility (Web Frameworks)
- awesome-crystal - spider-gazelle - A Rails esque web framework with a focus on speed and extensibility (Web Frameworks)
README
# Spider-Gazelle Application Template
[![CI](https://github.com/spider-gazelle/spider-gazelle/actions/workflows/ci.yml/badge.svg)](https://github.com/spider-gazelle/spider-gazelle/actions/workflows/ci.yml)
Clone this repository to start building your own spider-gazelle based application.
This is a template and as such, Do What the Fuck You Want To## Documentation
Detailed documentation and guides available: https://spider-gazelle.net/
* [Action Controller](https://github.com/spider-gazelle/action-controller) base class for building [Controllers](http://guides.rubyonrails.org/action_controller_overview.html)
* [Active Model](https://github.com/spider-gazelle/active-model) base class for building [ORMs](https://en.wikipedia.org/wiki/Object-relational_mapping)
* [Habitat](https://github.com/luckyframework/habitat) configuration and settings for Crystal projects
* [router.cr](https://github.com/tbrand/router.cr) base request handling
* [Radix](https://github.com/luislavena/radix) Radix Tree implementation for request routing
* [HTTP::Server](https://crystal-lang.org/api/latest/HTTP/Server.html) built-in Crystal Lang HTTP server
* Request
* Response
* Cookies
* Headers
* Params etcSpider-Gazelle builds on the amazing performance of **router.cr** [here](https://github.com/tbrand/which_is_the_fastest).:rocket:
## Testing
`crystal spec`
* to run in development mode `crystal ./src/app.cr`
## Compiling
`crystal build ./src/app.cr`
### Deploying
Once compiled you are left with a binary `./app`
* for help `./app --help`
* viewing routes `./app --routes`
* run on a different port or host `./app -b 0.0.0.0 -p 80`