DEV Community

Discussion on: Great fun with Deno - My First Deno Framework

Collapse
 
ekafyi profile image
Eka • Edited

Quick silly question from someone with 0 Deno knowledge: how does one connect this (or any generic Deno app) to any kind of UI/view library?

Collapse
 
oknoorap profile image
Ribhararnus Pracutian • Edited

Good question, My framework is with specific purpose, it's to build a quick REST API server, so I don't have any plan to add any views or renderer functionality, but still you can set content type as text/html in router response.

Collapse
 
lifelongthinker profile image
Sebastian • Edited

I've only just read myself into the docs. Deno is a scripting environment, so you can feed it scripts and let it execute those. It's not meant to be a backend for serve a UI. There are other tools for that purpose.

Collapse
 
etienneburdet profile image
Etienne Burdet • Edited

You can serve a UI with a templating engine and web server, like: github.com/NMathar/deno-express