Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastiandotdev/postgres_deno
sine implementation with postgresql manager.
https://github.com/sebastiandotdev/postgres_deno
deno postgresql typescript
Last synced: 25 days ago
JSON representation
sine implementation with postgresql manager.
- Host: GitHub
- URL: https://github.com/sebastiandotdev/postgres_deno
- Owner: sebastiandotdev
- Created: 2023-04-12T03:08:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-13T19:21:30.000Z (over 1 year ago)
- Last Synced: 2024-08-26T18:53:59.457Z (2 months ago)
- Topics: deno, postgresql, typescript
- Language: TypeScript
- Homepage: https://deno-deploy-postgres.deno.dev
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deno REST
- `Deno REST` is a REST API built with Deno that allows users to interact with a database of people. The API provides endpoints to create, read, update, and delete personas in the database, allowing users to perform a wide range of persona-related operations.
## Endpoints
- `GET /person`: Eset endpoint allows users to get a list of all people in the database.
- `POST /person`: Eset endpoint allows users to create a new person in the database. The request body should contain the details of the person you want to create.
- `PUT /person/:id`: This endpoint allows users to update the details of a specific person in the database. The :id parameter must be replaced with the unique ID of the person you want to update. The request body should contain the new details of the person.
- `DELETE /person/:id`: Eset endpoint allows users to remove a specific person from the database. The :id parameter must be replaced with the unique ID of the person you want to remove.
## Use
1. clone project
```git
git clone https://github.com/sebastian009w/postgres_deno.git
```2. isntall deps
```deno
deno install
```3. host
```deno
deno task dev
```4. server
```
http://localhost:8080
```## Author
- Johan Sebastian Castro Garcia