0.1.2 • Published 2 years ago

webhost v0.1.2

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

webhost

A NodeJS framework for create general purpose web services.

Write using TypeScript with Visual Studio Code.

import { HttpApplication, IHttpApplication, IConfigure, IConfigureServices,
    NotFound, DefaultFiles, StaticFiles } from 'webhost';

@HttpApplication({
    imports: [],
    providers: [],
    port: 1800,
    wwwroot: __dirname + '/wwwroot'
})
export class HttpTestApplication implements IHttpApplication {

    public constructor(
    ) {
    }

    public configureServices(services: IConfigureServices): void {
    }

    public configure(app: IConfigure): void {
     
        app.use(DefaultFiles);

        app.use(StaticFiles);

        app.use(NotFound);
    }
}

Installation

$ npm install webhost

Features

  • Lightweight
  • Modulate
  • Dependencie Inject system build on
  • Core has none dependencies

Docs

Quick Start

Create a empty NPM package:

npm init -y

Install WebHost:

npm install webhost --save

Work with code:

code .

Example

https://github.com/Cliveburr/WebHost/tree/master/test
0.1.2

2 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.23

6 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago