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 | sh
iwr https://deno.land/x/install/install.ps1 -useb | iex
brew install deno
choco install deno
scoop install deno
cargo 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.sh
Format using Deno's built in formatter
./scripts/format.sh
Start your server on port 5000
./scripts/run.sh
Compile into a single executable
./scripts/compile.sh
MIT
Connect with me: