0.0.2 • Published 7 years ago

squirtle v0.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

Squirtle Build Status

A typescript backend framework using the convention over configuration pattern and dependency injection. Inspire by dotnetmvc, angular2 and express.

Getting Started

That package is currently in development and not ready for PRODUCTION. Feel free to contribute, any issues, pull request or stars are welcome.

Simple Exemple

const server = new Squirtle();

server.init({
  controllers: [UserController],
  port: 8080
});

And the controller:

@Route("api/[controller]")
export class UserController extends Controller {
    @HttpGet
    public Get(): User {
        return new User();
    }    
}