Skip to content

Simple JSON REST API built with Deno JavaScript Runtime (https://deno.com) and Hono Framework 4.0 (https://hono.dev).

License

Notifications You must be signed in to change notification settings

gonzaloplaza/deno-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DENO-API

TypeScript deno compatibility GitHub Repo Size License MIT

Simple JSON REST API built with Deno JavaScript Runtime (https://deno.com) and Hono Framework 4.0 (https://hono.dev).

Installation

Install Deno Runtime (https://docs.deno.com/runtime/manual/getting_started/installation)

curl -fsSL https://deno.land/install.sh | sh

# Update your .bashrc profile
export DENO_INSTALL="/home/your_username/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

deno info
deno --version

Copy .env.example content to .env

Run dev server (watch file changes)

deno task dev

Run production server

deno task serve

Run tests

deno test

Run on Docker

docker build --no-cache -t deno-api .

docker run --rm -it -p 3000:3000 --name deno-api deno-api

About

Simple JSON REST API built with Deno JavaScript Runtime (https://deno.com) and Hono Framework 4.0 (https://hono.dev).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published