Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```