Skip to content

vincentdoerig/deno-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Demo

A simple REST api with an in-memory database created with Deno.

Installation

To run this programm, you will need Deno. Look at the installation for more info.

Run

deno run --allow-net --allow-env --allow-read index.ts

Run tests

deno test --allow-net

Routes

Route Description
GET / Respond with Hello World!
GET /dinos List all dinosaurs
GET /dino/:id List dinosaur by id
POST /dino Create a new dinosaur
PATCH /dino/:id Update dinosaur by id
DELETE /dino/:id Delete dinosaur by id

Resources

Contributing

Feedback and PRs are welcome! Just make sure to run deno fmt before committing to format all files.

License

This project is licensed under the MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published