## Install Deno
brew install deno
## Install Denon which wraps Deno with live reload ability
deno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon/denon.ts
## Clone the repository
git clone git@github.com:nickdenardis/deno-rest-example.git
## Create an environment file with your own variables
cp .env.example .env
- Fill in values of
.env
for MongoDB connection
- Compile and run (with live reload)
denon run -A --unstable index.ts
or (without live reload) deno run -A --unstable index.ts
- Use
api.rest
examples with a helpful VS Code REST Client extension