https://github.com/diogosouza/deno-crud-api
A functional CRUD-like API with Deno and Postgres
https://github.com/diogosouza/deno-crud-api
crud crud-api crud-sample deno denoland javascript logrocket postgres postgresql
Last synced: about 1 year ago
JSON representation
A functional CRUD-like API with Deno and Postgres
- Host: GitHub
- URL: https://github.com/diogosouza/deno-crud-api
- Owner: diogosouza
- Created: 2020-03-10T12:13:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T13:27:54.000Z (almost 6 years ago)
- Last Synced: 2025-04-28T17:52:04.123Z (about 1 year ago)
- Topics: crud, crud-api, crud-sample, deno, denoland, javascript, logrocket, postgres, postgresql
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 24
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A functional CRUD-like API with Deno and Postgres
This is the source code for my article: [Creating your first REST API with Deno and Postgres](https://blog.logrocket.com/creating-your-first-rest-api-with-deno-and-postgres/).
> This project was developed to work with Deno [1.0.0](https://github.com/denoland/deno/releases/tag/v1.0.0). Different versions can bring inconsistencies to the project.
You can use this [link](https://deno.land/x/install/) to install a specific version of [Deno](https://deno.land/) to your machine. Then, enter the root folder of this project, and run the following command:
```shell
deno run --allow-net --allow-env index.js
```
Don't forget to have Postgres up and running and creating the table at `db/create.sql`.