Skip to content

A Framework that barely uses dependencies and it is designed especially to make stable and sustainable applications. 📦

License

Notifications You must be signed in to change notification settings

sustainland/sustain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Framework that barely uses dependencies and it is designed especially to make stable and sustainable applications. 📦

Resources

License

Stars

Watchers

Forks

Packages

No packages published