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.
- Host: GitHub
- URL: https://github.com/dedo-finger2/first-deno-api
- Owner: Dedo-Finger2
- License: mit
- Created: 2024-05-09T14:34:13.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T14:43:00.000Z (about 2 years ago)
- Last Synced: 2025-07-12T18:00:13.991Z (12 months ago)
- Topics: crud, deno, deno-module, oak, simple, typescript
- Language: TypeScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.