squirtle
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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();
    }    
}

Readme

Keywords

none

Package Sidebar

Install

npm i squirtle

Weekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • nicolasgere