SmartDeno is a simple Web Template Application written in TypeScript using Deno. It is based on the following building blocks:
This application is compatible with Deno Deploy and can be visited here
deno task start
docker build -t smart-deno .
docker run -p 8000:8000 smart-deno
Version info is stored in VERSION and /src/version.ts files.
The Dockerfile is set up to build a container image for this application.
It uses the official Deno image as a base, copies the application code, and runs it on port 8000.
To build a Docker image, run:
docker build --platform linux/amd64 -t smart-deno .
To run the Docker container, use:
docker run -p 8000:8000 smart-deno
The local DB database is stored in Deno directory. For instance, on Mac, it is located in
./Users/<user>/Library/Caches/deno/location_data
Remove every directory inside location_data and restart the application. The database will be recreated.
Deno KV is currently in the process of being stabilized. While it is stable in many environments, some versions or configurations of Deno might still require the --unstable-kv flag. If you are running the command manually, ensure you include --unstable-kv.
On Deno Deploy, you need to create a Deno KV database in your Deno Deploy console and then assign it to this app.
