endeavor 0.1.9 copy "endeavor: ^0.1.9" to clipboard
endeavor: ^0.1.9 copied to clipboard

outdated

Endeavor is a web framework written in Dart programming language and is inspired by frameworks like [Ruby on Rails](https://rubyonrails.org), and [Express Js](https://expressjs.com). The goal of Endea [...]

example/example.md

// example.dart 

import 'dart:io';

import 'package:endeavor/endeavor.dart';

void main() async {

              
  final app = Endeavor();


  app.GET('/', (Request req, Response res){
    res.sendString('Ta daa');
  });

  app.GET('/home', RootController().home);

  
  var server = await HttpServer.bind('127.0.0.1', 80, shared: true);

  await app.runServer();

}



class RootController{


  home(Request req, Response res) async {

    res.sendString('T daa');
    
  }
}

1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Endeavor is a web framework written in Dart programming language and is inspired by frameworks like [Ruby on Rails](https://rubyonrails.org), and [Express Js](https://expressjs.com). The goal of Endeavor framework is to provide developers effectively build backends in Dart. Currently, Dart is mainly used for developing client-side apps using Flutter. Our idea is to use Dart language for developing server-side applications also.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

mime, path, watcher

More

Packages that depend on endeavor