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.
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.
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);
https://sustainland.github.io/docs
- Website - aymen.co
- Twitter - @labidiaymen