Deno: Are there any examples of setting up an http server like express?

Created on 25 Jan 2019  路  5Comments  路  Source: denoland/deno

Having difficulty finding code examples around

Most helpful comment

I made pogo, a server framework for Deno. It is inspired by hapi, which IMO has a much better API than Express. It is a young project, but it works. If you need any help or more examples, ping me. Contributions welcome.

All 5 comments

Yes... I finally have it at a level that it can be more widely shared, oak

~I need to add it to the denoland registry, so the URLs in the README don't work yet~, but you can run one of the examples by doing something like this:

$ deno https://deno.land/x/oak/examples/routingServer.ts --allow-net

Which is an example server that includes routing that is the mostly "Express" like. Here is a link to the code directly: oakserver/oak/examples/routingServer.ts

I made pogo, a server framework for Deno. It is inspired by hapi, which IMO has a much better API than Express. It is a young project, but it works. If you need any help or more examples, ping me. Contributions welcome.

@sholladay Nice! consider adding it to the registry https://github.com/denoland/registry/blob/master/src/database.json and https://github.com/denolib/awesome-deno so it's more discoverable.

Another try https://github.com/NMathar/deno-express feel free to give some feedback

CC @ry this is stale

Was this page helpful?
0 / 5 - 0 ratings

Related issues

doutchnugget picture doutchnugget  路  3Comments

watilde picture watilde  路  3Comments

ry picture ry  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

kitsonk picture kitsonk  路  3Comments