cdbattags / dtw-depot

Down the Whole: Depot > a experimental build system for Node.js (Express) and Rust (actix-web) APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Down the Whole: Depot

Time to speed up Express.

export default (req: Request, res: Response) => {
    response.status(200).json({
        hello: 'world!',
    })
}

Languages: Rust and Node.js

Why

I got tired of writing the same code over and over to get a simple server setup for actix-web and/or Express with TypeScript. I took it a step further here trying to mirror the interface for Express controllers but using actix-web as the underlying server.

This is also pretty similar to the Node.js AWS lambda syntax for handlers which will come in handy later as well.

Goals

  • actix-web stood up with a single service
  • service forwards to

About

Down the Whole: Depot > a experimental build system for Node.js (Express) and Rust (actix-web) APIs


Languages

Language:Rust 67.8%Language:TypeScript 19.1%Language:Shell 7.4%Language:Dockerfile 3.5%Language:JavaScript 2.3%