An open API service indexing awesome lists of open source software.

https://github.com/dedo-finger2/first-deno-api

trying out the oak lib from Deno and creating a simple CRUD with it.
https://github.com/dedo-finger2/first-deno-api

crud deno deno-module oak simple typescript

Last synced: 2 months ago
JSON representation

trying out the oak lib from Deno and creating a simple CRUD with it.

Awesome Lists containing this project

README

          

## First Deno API
This is a simple example of a simple CRUD using in-memory database and Deno's Javascript Runtime.

### Controller/user.ts
Has all methods to perform crud actions on the user Model.

### Model/user.ts
An simple Interface to represent a User Model.

### ./router.ts
Where all routes are defined then exported to the main server file.

### ./server.ts
The main server file, contains the server config and router registration.