Ash.js
A stylish web framework for Deno! :sauropod:
Warning: Ash.js is a W.I.P. project and may be buggy. If you have found a bug, please create an issue describing the bug and the code that can reproduce it. Thanks for helping to make Ash better! :grinning:
Why Ash?
Ash aims to be a fully-featured framework with a robust toolset fixing common, but painful tasks that are required for making a professional website. It is inspired by Laravel and thus the basic usage of Ash is the same. Below is an example.
Dependencies
🎉 Ash has no external dependencies!
Example
/* Load Ash */
import { Route, ash } from 'https://deno.land/x/ash/mod.ts';
/* Listen for GET requests at http://localhost */
Route.get('/', function() {
/* Respond to the request: */
return 'Hello, world!';
});
/* Start the server at port 80 (the default HTTP port) */
ash.start();
/* Or start the server at another port: */
ash.start(4000);