https://github.com/coderosh/deno-rest-api
Simple posts rest api created with deno, oak and mongodb
https://github.com/coderosh/deno-rest-api
Last synced: 11 months ago
JSON representation
Simple posts rest api created with deno, oak and mongodb
- Host: GitHub
- URL: https://github.com/coderosh/deno-rest-api
- Owner: coderosh
- Created: 2021-01-26T16:54:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T16:54:54.000Z (almost 5 years ago)
- Last Synced: 2025-01-22T12:45:34.266Z (about 1 year ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# REST API USING DENO, MONGODB
## denon for auto reload
```bash
deno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon@v2.0.2/denon.ts
```
```bash
denon start
```
## start server
```bash
deno run --allow-run --allow-net --allow-write --allow-read --allow-plugin --allow-env --unstable server.ts
```
## .env file in root directory
```
JWT_SECRET=secret
```