Skip to content

ahmedkrmn/Deno-CRUD-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CRUD REST API in Deno

A simple API written in the new JavaScript & TypeScript Deno runtime.

Setup

  1. Install Deno by following the instructions here.

  2. Run:

    deno run --allow-net https://raw.githubusercontent.com/ahmedkrmn/Deno-CRUD-REST-API/master/server.ts

API Routes

Method URI Action
GET /api/products Get all products
GET /api/products/:id Get a product with a given id
POST /api/products Add a new product
PUT /api/products/:id Update a product with a given id
DELETE /api/products/:id Delete a product with a given id

About

A simple CRUD REST API in Deno to test it out!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published