DEV Community

Gaetano D'Orsi
Gaetano D'Orsi

Posted on

[GitHub] A basic REST API example with Deno and Oak

https://github.com/Tudor44/deno-rest-api-example

Top comments (2)

Collapse
 
mikenikles profile image
Mike • Edited

If you use --allow-net, the server gets full access to all URLs. The following is a lot more secure:

deno run --allow-net=:5000 server.ts

Also see deno.land/manual/getting_started/p....

I opened a PR on your repo to update the documentation accordingly.

Collapse
 
tudor44 profile image
Gaetano D'Orsi

Good I have updated the repository thanks for suggestion!