Skip to main content
Deno 2 is finally here 🎉️
Learn more

Lastserver

A highly opinionated server with batteries included

Overview

Lastserver is an abstraction of the common details you need to worry about and the best practices you need to apply every time you need an api server.

The stack

  • Deno
  • Typescript
  • HTTP service
  • MySql service
  • Logger service (console and betterstack)
  • ..

Publishing the lastserver module

  1. Increase the version property in deno.json
  2. Push changes to master.
  3. Create a new release
  4. Deno land will pickup the release and update the mod on deno land (https://deno.land/x/lastserver)

Using the lastserver module

1- cd example 2- deno task dev 3- hit http://localhost:3000/test/123?a=1&b=2

.. TODO: more updates are coming to the example server