projectx
projectx
based on spider-gazelle framework
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
caveat : running in debian might need to install the missing lib
sudo apt-get update sudo apt-get install libyaml-dev sudo apt-get install libgmp-dev
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
Repository
projectx
Owner
Statistic
- 0
- 0
- 1
- 0
- 3
- over 1 year ago
- October 1, 2018
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 09:48:06 GMT
Languages