Showcase a minimal API seed in Deno. With help of Oak this seed is capable of extending by either adding middlewares or rest routes.
git clone https://github.com/devrnt/deno-api-seed.git
deno run --allow-net ./src/index.ts
This is as of now the only endpoint and will return some mock json user data.
Launch the Dockerized development environment. This will autoreload on file changes.
docker-compose -f "docker-compose.dev.yml" up --build
Production can be launched in 2 ways:
deno run --allow-net ./src/index.ts
docker-compose -f "docker-compose.prd.yml" up -d --build
Author: devrnt
Source Code: https://github.com/devrnt/deno-api-seed
#deno #node #nodejs #javascript