Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradtraversy/deno-rest-api
Simple REST API using Deno and Oak
https://github.com/bradtraversy/deno-rest-api
Last synced: about 2 months ago
JSON representation
Simple REST API using Deno and Oak
- Host: GitHub
- URL: https://github.com/bradtraversy/deno-rest-api
- Owner: bradtraversy
- Created: 2020-05-19T18:48:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-21T01:14:09.000Z (over 3 years ago)
- Last Synced: 2024-06-18T15:41:36.248Z (7 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 267
- Watchers: 12
- Forks: 70
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Deno REST API
> This is a REST API using Deno, Oak and PostgreSQL
Be sure to install [https://www.postgresql.org/](postgreSQL) and edit the "config.ts" file with your own credentials
* [Deno Crash Course Video](https://www.youtube.com/watch?v=NHHhiqwcfRM)
* [Deno & PostgreSQL Video](https://youtu.be/KuaI6mphFNc)## Run
```
# This project uses Denon
deno start
```## Routes
```
GET /api/v1/products
GET /api/v1/products/:id
POST /api/v1/products
PUT /api/v1/products/:id
DELETE /api/v1/products/:id
```