endeavor 1.0.0-stable copy "endeavor: ^1.0.0-stable" to clipboard
endeavor: ^1.0.0-stable 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
0
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

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

License

unknown (license)

Dependencies

mime, path, watcher

More

Packages that depend on endeavor