Spider-Gazelle Application Template
Clone this repository to start building your own spider-gazelle based application
Documentation
Detailed documentation and guides available: https://spider-gazelle.net/
- Action Controller base class for building Controllers
- Active Model base class for building ORMs
- Habitat configuration and settings for Crystal projects
- router.cr base request handling
- Radix Radix Tree implementation for request routing
- HTTP::Server built-in Crystal Lang HTTP server
- Request
- Response
- Cookies
- Headers
- Params etc
Spider-Gazelle builds on the amazing performance of router.cr here.: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