Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 2.14 KB

README.md

File metadata and controls

75 lines (45 loc) · 2.14 KB

Sustain    Quality Gate Status

Description

Sustain is a Framework that barely uses despedencies and it is designed especially to make stable and sustainable apps. It is built with TypeScript, uses OOP (Object Oriented Programming) and built-in Dependency Injections.

This frameowrk touches in depth the web fundemantals and implements them from scratch with zero dependencies which makes it more reliable and durable.

Philosophy

Building an application that depends on packages that they may be also depending on other packages is something that requires a periodic maintenance by installing the latest updates. This dependency will expose your application to eventual instability and vulnerability.

Decoupling the application from the dependant packages by using the Sustain framework will make the maintenance focused on only one package.

Installation

npm install -g @sustain/cli
 
sustain new sustain-project

cd sustain-project

npm install

sustain start

Or you can start with a one file application

import { App, bootstrap, Controller } from '@sustain/core';
import { Get } from '@sustain/http';

@Controller()
export default class HelloController {
    constructor() { }

    @Get()
    hello(): string {
        return `Hello Sustainers`;
    }
}
@App({
    controllers: [
        HelloController,
    ],
    port: process.env.PORT || 5002
})
class AppModule { }

bootstrap(AppModule);

Documentation

https://sustainland.github.io/docs

Author

License

MIT licensed.