-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for http oak middleware with crud and sqlite DB #1101
base: main
Are you sure you want to change the base?
Example for http oak middleware with crud and sqlite DB #1101
Conversation
* It demonstrates the CRUD(Create, Read, Update and Delete) operations on file-based SQLite Database using HTTP methods (Get, Post, Put, Delete, Options) | ||
*/ | ||
|
||
import { Application, Router } from "https://deno.land/x/[email protected]/mod.ts"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can simply use jsr:@oak/oak
here, unless you're are doing this specifically to use v11.1.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have updated as requested, thanks for pointing out
Code updated as per review comments. |
Example also has to follow the contribution rules of single file, no more than 50 lines. |
Example code lines refactored as per guidelines.. thanks |
HTTP oak http middleware application with crud routes using file based SQLite3 serverless database