https://github.com/ianchen0119/webapi
Practice on Deno, I planning to use oak, denon, mongoDB... to build WebAPI.
https://github.com/ianchen0119/webapi
Last synced: 27 days ago
JSON representation
Practice on Deno, I planning to use oak, denon, mongoDB... to build WebAPI.
- Host: GitHub
- URL: https://github.com/ianchen0119/webapi
- Owner: ianchen0119
- License: mit
- Created: 2020-09-02T10:37:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T11:40:22.000Z (over 4 years ago)
- Last Synced: 2025-02-16T22:42:38.782Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 3.45 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebAPI
A practice on Deno, I planning to use `oak`, `denon`, `mongoDB`... to build my first webAPI of Deno.## Steps
### Install Denon
```
deno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon/denon.ts
```### Create denon.json that be used to customize Denon’s configuration.
```
{
"$schema": "https://deno.land/x/denon/schema.json",
"env": {
},
"scripts": {
"start": {
"cmd": "deno run --allow-env --allow-net --allow-write --allow-read --allow-plugin --unstable app.ts"
}
}
}
```## Reference
[deno_mongo](https://deno.land/x/[email protected])
[Deno: Create a Rest API using JWT](https://levelup.gitconnected.com/deno-create-a-rest-api-using-jwt-5141fd5b1066)