A simple REST API starter kit implementation in Deno environment using OAK as middleware framework.
The app contains basics CRUD operations managing a Book entity using at the moment a simple Interface for modeling the REST Entity with read and write operation in an array collection.
TODO: Add database and authentication support.
curl -fsSL https://deno.land/x/install/install.sh | shiwr https://deno.land/x/install/install.ps1 -useb | iexbrew install denochoco install denoscoop install denocargo install deno- Configure your IDE. I am using VSCode so I installed the official Deno extension from the Visual Studio Marketplace. Then I followed the setup instructions:
Lint using Deno's built in linter
./scripts/lint.shFormat using Deno's built in formatter
./scripts/format.shStart your server on port 5000
./scripts/run.shCompile into a single executable
./scripts/compile.shMIT
Connect with me: