/server

Library for building HTTP services like a express server but more fast 🚀

Primary LanguageTypeScriptMIT LicenseMIT

@coatl/server

A simple server for creating RESTful APIs.

Installation

npm install @coatl/server

Usage

import { App } from '@coatl/server';

const app = new App({
    port: process.env.PORT || 3000,
});

app.get('/hello', (req, res) => {
  res.send('Hello World!');
});

app.run();

License

MIT